This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit b18e764ec83a6a98af3d9ef2576b91049f2345f8 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Apr 3 09:26:07 2020 +0100 Changes required for Java 7 --- test/org/apache/tomcat/util/net/TestSsl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/org/apache/tomcat/util/net/TestSsl.java b/test/org/apache/tomcat/util/net/TestSsl.java index ae23179..b072106 100644 --- a/test/org/apache/tomcat/util/net/TestSsl.java +++ b/test/org/apache/tomcat/util/net/TestSsl.java @@ -80,7 +80,7 @@ public class TestSsl extends TomcatBaseTest { @Test public void testPost() throws Exception { - SocketFactory socketFactory = TesterSupport.configureClientSsl(); + final SocketFactory socketFactory = TesterSupport.configureClientSsl(); Tomcat tomcat = getTomcatInstance(); TesterSupport.initSsl(tomcat); @@ -90,8 +90,8 @@ public class TestSsl extends TomcatBaseTest { ctxt.addServletMappingDecoded("/post", "post"); tomcat.start(); int iterations = 8; - CountDownLatch latch = new CountDownLatch(iterations); - AtomicInteger errorCount = new AtomicInteger(0); + final CountDownLatch latch = new CountDownLatch(iterations); + final AtomicInteger errorCount = new AtomicInteger(0); for (int i = 0; i < iterations; i++) { new Thread() { @Override --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org