Polish sample package names
This commit is contained in:
@@ -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
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.client;
|
||||
package samples.websocket.tomcat.client;
|
||||
|
||||
public interface GreetingService {
|
||||
|
||||
@@ -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;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.client;
|
||||
package samples.websocket.tomcat.client;
|
||||
|
||||
public class SimpleGreetingService implements GreetingService {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.echo;
|
||||
package samples.websocket.tomcat.echo;
|
||||
|
||||
public class DefaultEchoService implements EchoService {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.echo;
|
||||
package samples.websocket.tomcat.echo;
|
||||
|
||||
public interface EchoService {
|
||||
|
||||
@@ -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;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.reverse;
|
||||
package samples.websocket.tomcat.reverse;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
@@ -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
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package samples.websocket.snake;
|
||||
package samples.websocket.tomcat.snake;
|
||||
|
||||
public class Location {
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user