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: [email protected]
For additional commands, e-mail: [email protected]