diff --git a/brut.j.dir/src/main/java/brut/directory/FileDirectory.java b/brut.j.dir/src/main/java/brut/directory/FileDirectory.java index a17ef866..140c5567 100644 --- a/brut.j.dir/src/main/java/brut/directory/FileDirectory.java +++ b/brut.j.dir/src/main/java/brut/directory/FileDirectory.java @@ -24,7 +24,7 @@ import java.util.LinkedHashSet; public class FileDirectory extends AbstractDirectory { 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)); } diff --git a/brut.j.dir/src/main/java/brut/directory/ZipRODirectory.java b/brut.j.dir/src/main/java/brut/directory/ZipRODirectory.java index 47e79fd8..25039116 100644 --- a/brut.j.dir/src/main/java/brut/directory/ZipRODirectory.java +++ b/brut.j.dir/src/main/java/brut/directory/ZipRODirectory.java @@ -64,8 +64,7 @@ public class ZipRODirectory extends AbstractDirectory { } @Override - protected AbstractDirectory createDirLocal(String name) - throws DirectoryException { + protected AbstractDirectory createDirLocal(String name) { throw new UnsupportedOperationException(); } @@ -80,8 +79,7 @@ public class ZipRODirectory extends AbstractDirectory { } @Override - protected OutputStream getFileOutputLocal(String name) - throws DirectoryException { + protected OutputStream getFileOutputLocal(String name) { throw new UnsupportedOperationException(); }