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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org