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 2019/01/25 07:51:30 UTC

svn commit: r1852097 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainerGetOpenSessions.java

Author: markt
Date: Fri Jan 25 07:51:30 2019
New Revision: 1852097

URL: http://svn.apache.org/viewvc?rev=1852097&view=rev
Log:
Ensure new test compiles under Java 6

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

Modified: tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainerGetOpenSessions.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainerGetOpenSessions.java?rev=1852097&r1=1852096&r2=1852097&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainerGetOpenSessions.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainerGetOpenSessions.java Fri Jan 25 07:51:30 2019
@@ -355,7 +355,7 @@ public class TestWsWebSocketContainerGet
 
     public static class Tracker {
 
-        private static final Map<String, Integer> records = new ConcurrentHashMap<>();
+        private static final Map<String, Integer> records = new ConcurrentHashMap<String, Integer>();
         private static final AtomicInteger updateCount = new AtomicInteger(0);
 
         public static void addRecord(String key, int count) {



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