Polish sample package names

This commit is contained in:
Phillip Webb
2015-06-23 00:47:12 -07:00
parent 9c0335fc29
commit 1ce617f1ae
163 changed files with 401 additions and 760 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket;
package samples.websocket.tomcat;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -29,13 +29,13 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
import org.springframework.web.socket.handler.PerConnectionWebSocketHandler;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
import samples.websocket.client.GreetingService;
import samples.websocket.client.SimpleGreetingService;
import samples.websocket.echo.DefaultEchoService;
import samples.websocket.echo.EchoService;
import samples.websocket.echo.EchoWebSocketHandler;
import samples.websocket.reverse.ReverseWebSocketEndpoint;
import samples.websocket.snake.SnakeWebSocketHandler;
import samples.websocket.tomcat.client.GreetingService;
import samples.websocket.tomcat.client.SimpleGreetingService;
import samples.websocket.tomcat.echo.DefaultEchoService;
import samples.websocket.tomcat.echo.EchoService;
import samples.websocket.tomcat.echo.EchoWebSocketHandler;
import samples.websocket.tomcat.reverse.ReverseWebSocketEndpoint;
import samples.websocket.tomcat.snake.SnakeWebSocketHandler;
@Configuration
@EnableAutoConfiguration

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.client;
package samples.websocket.tomcat.client;
public interface GreetingService {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.client;
package samples.websocket.tomcat.client;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.client;
package samples.websocket.tomcat.client;
public class SimpleGreetingService implements GreetingService {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.echo;
package samples.websocket.tomcat.echo;
public class DefaultEchoService implements EchoService {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.echo;
package samples.websocket.tomcat.echo;
public interface EchoService {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package samples.websocket.echo;
package samples.websocket.tomcat.echo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
public enum Direction {
NONE, NORTH, SOUTH, EAST, WEST

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
public class Location {

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
import java.util.ArrayDeque;
import java.util.Collection;

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
import java.util.Collection;
import java.util.Collections;

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
import java.awt.Color;
import java.util.Random;

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
package samples.websocket.snake;
package samples.websocket.tomcat.snake;
import java.awt.Color;
import java.util.Iterator;