Removed unnecessary code from CustomObjectService

This commit is contained in:
Obique
2019-02-06 15:10:39 -06:00
parent 47e4303f29
commit 3f6cf3c057
@@ -101,16 +101,6 @@ public class CustomObjectService extends Service {
for (String iff : objects) {
mapping.put(prettyIff(iff), iff.replace(File.separatorChar, '/'));
}
// File [] children = start.listFiles();
// assert children != null;
// for (File file : children) {
// if (file.isDirectory()) {
// mapping.put(file.getName(), createListBoxRecursive(file));
// } else if (file.isFile() && file.getName().startsWith("shared_") && file.getName().endsWith(".iff")) {
// String iff = file.getAbsolutePath().replace(new File("clientdata").getAbsolutePath()+File.separator, "");
// mapping.put(prettyIff(iff), iff.replace(File.separatorChar, '/'));
// }
// }
return new ListBoxRecursive(mapping);
}