tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1292457 - in /tomcat/trunk: java/org/apache/catalina/websocket/MessageInbound.java java/org/apache/catalina/websocket/WsOutbound.java test/org/apache/catalina/websocket/TestWebSocket.java
Date Wed, 22 Feb 2012 19:21:43 GMT
Author: markt
Date: Wed Feb 22 19:21:43 2012
New Revision: 1292457

URL: http://svn.apache.org/viewvc?rev=1292457&view=rev
Log:
Reduce visibility

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

Modified: tomcat/trunk/java/org/apache/catalina/websocket/MessageInbound.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/MessageInbound.java?rev=1292457&r1=1292456&r2=1292457&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/websocket/MessageInbound.java (original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/MessageInbound.java Wed Feb 22 19:21:43
2012
@@ -28,8 +28,8 @@ public abstract class MessageInbound ext
     private int byteBufferMaxSize = 2097152;
     private int charBufferMaxSize = 2097152;
 
-    ByteBuffer bb = ByteBuffer.allocate(8192);
-    CharBuffer cb = CharBuffer.allocate(8192);
+    private ByteBuffer bb = ByteBuffer.allocate(8192);
+    private CharBuffer cb = CharBuffer.allocate(8192);
 
     @Override
     protected void onBinaryData(InputStream is) throws IOException {

Modified: tomcat/trunk/java/org/apache/catalina/websocket/WsOutbound.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/WsOutbound.java?rev=1292457&r1=1292456&r2=1292457&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/websocket/WsOutbound.java (original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/WsOutbound.java Wed Feb 22 19:21:43 2012
@@ -31,8 +31,8 @@ public class WsOutbound {
     private ByteBuffer bb;
     private CharBuffer cb;
     private boolean closed = false;
-    protected Boolean text = null;
-    protected boolean firstFrame = true;
+    private Boolean text = null;
+    private boolean firstFrame = true;
 
 
     public WsOutbound(UpgradeOutbound upgradeOutbound) {

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=1292457&r1=1292456&r2=1292457&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java (original)
+++ tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java Wed Feb 22 19:21:43
2012
@@ -46,7 +46,7 @@ public class TestWebSocket extends Tomca
 
     private OutputStream os;
     private InputStream is;
-    boolean isContinuation = false;
+    private boolean isContinuation = false;
 
     @Test
     public void testSimple() throws Exception {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message