You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/09/22 15:00:59 UTC

svn commit: r1626764 - /tomcat/trunk/java/org/apache/tomcat/websocket/Util.java

Author: markt
Date: Mon Sep 22 13:00:59 2014
New Revision: 1626764

URL: http://svn.apache.org/r1626764
Log:
Reduce visibility for some methods.
No API issues since this class is clearly documented to be for internal use only.

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/Util.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/Util.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/Util.java?rev=1626764&r1=1626763&r2=1626764&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/Util.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/Util.java Mon Sep 22 13:00:59 2014
@@ -172,7 +172,7 @@ public class Util {
     }
 
 
-    public static Class<?> getDecoderType(Class<? extends Decoder> decoder) {
+    private static Class<?> getDecoderType(Class<? extends Decoder> decoder) {
         return Util.getGenericType(Decoder.class, decoder).getClazz();
     }
 
@@ -353,7 +353,7 @@ public class Util {
     }
 
 
-    public static Set<MessageHandlerResult> getMessageHandlers(
+    static Set<MessageHandlerResult> getMessageHandlers(
             MessageHandler listener, EndpointConfig endpointConfig,
             Session session) {
 



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