--- 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();