Skip to content

Commit d3ef741

Browse files
cuioss-oliverclaude
andcommitted
fix: Remove unnecessary throws IOException declaration
Removed unnecessary throws IOException from test method as Sonar correctly identified that the method body cannot throw this exception. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d91833a commit d3ef741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/de/cuioss/tools/io/FileSystemLoaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void shouldGetUrlForNonExistentFile() throws MalformedURLException {
166166
}
167167

168168
@Test
169-
void shouldHandleExternalPathWithComplexScenarios() throws IOException {
169+
void shouldHandleExternalPathWithComplexScenarios() {
170170
// Test external path handling - this exercises the code path with canonical path resolution
171171
// Even though we can't easily trigger IOException in getCanonicalPath(), this test ensures
172172
// the external path resolution logic is executed

0 commit comments

Comments
 (0)