diff --git a/src/test/java/org/apache/commons/io/build/URIOriginTest.java b/src/test/java/org/apache/commons/io/build/URIOriginTest.java index 6fe0f98be93..3eeb87fe612 100644 --- a/src/test/java/org/apache/commons/io/build/URIOriginTest.java +++ b/src/test/java/org/apache/commons/io/build/URIOriginTest.java @@ -46,7 +46,7 @@ public void beforeEach() { "http://example.com", "https://example.com" }) - void testGetInputStream(String uri) throws Exception { + void testGetInputStream(final String uri) throws Exception { final AbstractOrigin.URIOrigin origin = new AbstractOrigin.URIOrigin(new URI(uri)); try (final InputStream in = origin.getInputStream()) { assertNotEquals(-1, in.read());