@@ -157,7 +157,7 @@ void testAfterReadConsumer() throws Exception {
157157
158158 @ ParameterizedTest (name = "{index} — {0}" )
159159 @ MethodSource
160- void testAvailableAfterClose (String caseName , InputStream delegate , int expectedBeforeClose )
160+ void testAvailableAfterClose (final String caseName , final InputStream delegate , final int expectedBeforeClose )
161161 throws Exception {
162162 final InputStream shadow ;
163163 try (InputStream in = BoundedInputStream .builder ()
@@ -179,7 +179,7 @@ void testAvailableAfterClose(String caseName, InputStream delegate, int expected
179179
180180 @ ParameterizedTest
181181 @ MethodSource
182- void testAvailableUpperLimit (InputStream input , long maxCount , int expectedBeforeSkip , int expectedAfterSkip )
182+ void testAvailableUpperLimit (final InputStream input , final long maxCount , final int expectedBeforeSkip , final int expectedAfterSkip )
183183 throws Exception {
184184 try (BoundedInputStream bounded = BoundedInputStream .builder ()
185185 .setInputStream (input )
@@ -544,9 +544,9 @@ void testPublicConstructors() throws IOException {
544544 @ ParameterizedTest (name = "{index} — {0}" )
545545 @ MethodSource ("testReadAfterClose" )
546546 void testReadAfterClose (
547- String caseName ,
548- InputStream delegate ,
549- Object expectedAfterClose // Integer (value) or IOException (expected thrown)
547+ final String caseName ,
548+ final InputStream delegate ,
549+ final Object expectedAfterClose // Integer (value) or IOException (expected thrown)
550550 ) throws Exception {
551551
552552 final InputStream bounded ;
0 commit comments