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 2018/07/09 19:57:07 UTC

svn commit: r1835481 - /tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java

Author: markt
Date: Mon Jul  9 19:57:06 2018
New Revision: 1835481

URL: http://svn.apache.org/viewvc?rev=1835481&view=rev
Log:
Fix back-port

Modified:
    tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java

Modified: tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java?rev=1835481&r1=1835480&r2=1835481&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java (original)
+++ tomcat/tc8.5.x/trunk/test/org/apache/tomcat/util/http/parser/TestVary.java Mon Jul  9 19:57:06 2018
@@ -55,13 +55,15 @@ public class TestVary {
 
     @Test
     public void testEmptyString() throws IOException {
-        doTestVary("", Collections.emptySet());
+        Set<String> s = Collections.emptySet();
+        doTestVary("", s);
     }
 
 
     @Test
     public void testSingleInvalid() throws IOException {
-        doTestVary("{{{", Collections.emptySet());
+        Set<String> s = Collections.emptySet();
+        doTestVary("{{{", s);
     }
 
 



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