Remove redundant throws declarations from public APIs

Closes gh-31179
This commit is contained in:
Andy Wilkinson
2022-05-26 16:00:13 +01:00
parent 5dfa5adb75
commit 26b89bfc80
2 changed files with 3 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ public class ExplodedArchive implements Archive {
return new EntryIterator(this.root, this.recursive, null, null);
}
protected Archive getNestedArchive(Entry entry) throws IOException {
protected Archive getNestedArchive(Entry entry) {
File file = ((FileEntry) entry).getFile();
return (file.isDirectory() ? new ExplodedArchive(file) : new SimpleJarFileArchive((FileEntry) entry));
}