From a8a6ffd9409082671663831ab1fc752e62afdcdf Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 2 Jun 2024 14:20:44 -0400 Subject: [PATCH] Use final --- src/test/java/org/apache/commons/io/build/URIOriginTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());