Skip to content

Commit

Permalink
Use final
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 2, 2024
1 parent e66e31a commit a8a6ffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a8a6ffd

Please sign in to comment.