tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1803907 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java
Date Wed, 02 Aug 2017 19:26:17 GMT
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


Mime
View raw message