Skip to content

Commit

Permalink
Don't load class bytes for srg obfuscation from subdirectories
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 2, 2013
1 parent 6ec1bbb commit 722ec7b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -11,6 +11,7 @@

import nallar.tickthreading.Log;
import nallar.tickthreading.util.IterableEnumerationWrapper;
import nallar.tickthreading.util.NormalFileFilter;

public class ByteSource {
public static final Map<String, byte[]> classes = new HashMap<String, byte[]>();
Expand All @@ -19,7 +20,7 @@ public class ByteSource {
public static void addFiles(File... files) {
for (File file : files) {
if (file.isDirectory()) {
addFiles(file.listFiles());
addFiles(file.listFiles(NormalFileFilter.$));
continue;
}
String extension = file.getName().toLowerCase();
Expand Down

0 comments on commit 722ec7b

Please sign in to comment.