Author: markt Date: Wed Sep 19 10:24:23 2018 New Revision: 1841310 URL: http://svn.apache.org/viewvc?rev=1841310&view=rev Log: Silence a couple of IDE warnings in the unit tests
Modified: tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestGzipOutputFilter.java tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/filters/TestFlushableGZIPOutputStream.java Modified: tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestGzipOutputFilter.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestGzipOutputFilter.java?rev=1841310&r1=1841309&r2=1841310&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestGzipOutputFilter.java (original) +++ tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestGzipOutputFilter.java Wed Sep 19 10:24:23 2018 @@ -33,7 +33,7 @@ import org.apache.tomcat.util.buf.ByteCh */ public class TestGzipOutputFilter { - /** + /* * Test the interaction betwen gzip and flushing. The idea is to: 1. create * a internal output buffer, response, and attach an active gzipoutputfilter * to the output buffer 2. set the output stream of the internal buffer to @@ -44,8 +44,6 @@ public class TestGzipOutputFilter { * to GZIPOutputStream and close it (to force flushing) 6. Compare the size * of the two arrays, they should be close (instead of one being much * shorter than the other one) - * - * @throws Exception */ @Test public void testFlushingWithGzip() throws Exception { Modified: tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/filters/TestFlushableGZIPOutputStream.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/filters/TestFlushableGZIPOutputStream.java?rev=1841310&r1=1841309&r2=1841310&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/filters/TestFlushableGZIPOutputStream.java (original) +++ tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/filters/TestFlushableGZIPOutputStream.java Wed Sep 19 10:24:23 2018 @@ -86,7 +86,7 @@ public class TestFlushableGZIPOutputStre Assert.assertEquals(originalLength, decompressedBytes.length); } - /** + /* * Test for {@code write(int)}. */ @Test --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org