Unnecessary Class Check
This check isn't needed anymore, importing through importKnownFile does this already
This commit is contained in:
parent
29c237bed4
commit
46f703db34
1 changed files with 0 additions and 5 deletions
|
@ -58,11 +58,6 @@ public class ImportResource implements Runnable
|
|||
Import.DIRECTORY.getImporter().open(file);
|
||||
continue;
|
||||
}
|
||||
|
||||
//check for classes
|
||||
if (fn.endsWith(".class"))
|
||||
Import.CLASS.getImporter().open(file);
|
||||
|
||||
//everything else import as a resource
|
||||
else if(!importKnownFile(file))
|
||||
Import.FILE.getImporter().open(file);
|
||||
|
|
Loading…
Reference in a new issue