fix: remove unused exceptions

This commit is contained in:
Connor Tumbleson 2021-03-28 17:10:01 -04:00
parent 8a23d0dbc1
commit 3d3dd07cf2
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
2 changed files with 3 additions and 5 deletions

View File

@ -24,7 +24,7 @@ import java.util.LinkedHashSet;
public class FileDirectory extends AbstractDirectory { public class FileDirectory extends AbstractDirectory {
private File mDir; private File mDir;
public FileDirectory(ExtFile dir, String folder) throws DirectoryException, UnsupportedEncodingException { public FileDirectory(ExtFile dir, String folder) throws DirectoryException {
this(new File(dir.toString().replaceAll("%20", " "), folder)); this(new File(dir.toString().replaceAll("%20", " "), folder));
} }

View File

@ -64,8 +64,7 @@ public class ZipRODirectory extends AbstractDirectory {
} }
@Override @Override
protected AbstractDirectory createDirLocal(String name) protected AbstractDirectory createDirLocal(String name) {
throws DirectoryException {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
@ -80,8 +79,7 @@ public class ZipRODirectory extends AbstractDirectory {
} }
@Override @Override
protected OutputStream getFileOutputLocal(String name) protected OutputStream getFileOutputLocal(String name) {
throws DirectoryException {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }