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 2017/08/02 19:26:17 UTC

svn commit: r1803907 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java

Author: markt
Date: Wed Aug  2 19:26:17 2017
New Revision: 1803907

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

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java?rev=1803907&r1=1803906&r2=1803907&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java Wed Aug  2 19:26:17 2017
@@ -420,7 +420,7 @@ public class WsWebSocketContainer
                     }
 
                     if (redirectSet == null) {
-                        redirectSet = new HashSet<>(maxRedirects);
+                        redirectSet = new HashSet<URI>(maxRedirects);
                     }
 
                     if (!redirectSet.add(redirectLocation) || redirectSet.size() > maxRedirects) {



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