http-client-branch: (WebSocket) minor cleanup http-client-branch
authorprappo
Fri, 09 Mar 2018 16:53:44 +0000
branchhttp-client-branch
changeset 56290 e178d19ff91c
parent 56269 234813fd33bc
child 56291 c8c4c707ff3a
http-client-branch: (WebSocket) minor cleanup
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java	Fri Mar 09 16:47:00 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java	Fri Mar 09 16:53:44 2018 +0000
@@ -46,7 +46,7 @@
  * Data consumed but not yet translated is accumulated until it's sufficient to
  * form a message.
  */
-/* Non-final for testing purposes only */
+/* Exposed for testing purposes */
 class MessageDecoder implements Frame.Consumer {
 
     private final static boolean DEBUG = false;
@@ -63,7 +63,7 @@
         this.output = requireNonNull(output);
     }
 
-    /* Exposed for testing purposes only */
+    /* Exposed for testing purposes */
     MessageStreamConsumer getOutput() {
         return output;
     }
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Fri Mar 09 16:47:00 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Fri Mar 09 16:53:44 2018 +0000
@@ -95,7 +95,7 @@
         this(defaultSize());
     }
 
-    /* Exposed for testing */
+    /* Exposed for testing purposes */
     protected MessageQueue(int size) {
         if (size < 1) {
             throw new IllegalArgumentException();