Loading...

dev@tomcat.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

svn commit: r1310642 - /tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java markt Fri Apr 06 17:00:21 2012

Author: markt
Date: Fri Apr  6 23:42:16 2012
New Revision: 1310642

URL: http://svn.apache.org/viewvc?rev=1310642&view=rev
Log:
Fix style

Modified:
    tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java

Modified: tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java?rev=1310642&r1=1310641&r2=1310642&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java Fri Apr  
6 23:42:16 2012
@@ -241,7 +241,7 @@ public class TestWebSocket extends Tomca
 
 
     private void sendMessage(String message, boolean finalFragment)
-    throws IOException{
+            throws IOException {
         ByteChunk bc = new ByteChunk(8192);
         C2BConverter c2b = new C2BConverter(bc, "UTF-8");
         c2b.convert(message);
@@ -250,7 +250,6 @@ public class TestWebSocket extends Tomca
         int len = bc.getLength();
         assertTrue(len < 126);
 
-
         byte first;
         if (isContinuation) {
             first = Constants.OPCODE_CONTINUATION;
@@ -304,8 +303,7 @@ public class TestWebSocket extends Tomca
         return cc.toString();
     }
 
-    private class WebSocketClient
-    {
+    private class WebSocketClient {
         // Open the socket
         final String encoding = "ISO-8859-1";
         Socket socket ;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]