#108 Consistent package naming throughout the examples
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
/**
|
||||
* One of possible approaches to terminate Producer-Consumer pattern is using PoisonPill idiom.
|
@ -1,6 +1,6 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import com.iluwatar.poisonpill.Message.Headers;
|
||||
import com.iluwatar.poison.pill.Message.Headers;
|
||||
|
||||
/**
|
||||
* Class responsible for receiving and handling submitted to the queue messages
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
/**
|
||||
* Endpoint to publish {@link Message} to queue
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
/**
|
||||
* Endpoint to retrieve {@link Message} from queue
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import java.util.Map;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
/**
|
||||
* Represents abstraction of channel (or pipe) that bounds {@link Producer} and {@link Consumer}
|
@ -1,8 +1,8 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.iluwatar.poisonpill.Message.Headers;
|
||||
import com.iluwatar.poison.pill.Message.Headers;
|
||||
|
||||
/**
|
||||
* Class responsible for producing unit of work that can be expressed as message and submitted to queue
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
@ -1,4 +1,4 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
@ -1,8 +1,8 @@
|
||||
package com.iluwatar.poisonpill;
|
||||
package com.iluwatar.poison.pill;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.iluwatar.poisonpill.App;
|
||||
import com.iluwatar.poison.pill.App;
|
||||
|
||||
public class AppTest {
|
||||
|
Reference in New Issue
Block a user