Refactoring...

This commit is contained in:
7u83 2017-11-21 11:59:40 +01:00
parent 90c2fbd386
commit b5d9c989f6
2 changed files with 4 additions and 17 deletions

View File

@ -1,4 +1,4 @@
#Mon, 20 Nov 2017 23:21:04 +0100
#Tue, 21 Nov 2017 11:54:07 +0100
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=

View File

@ -189,15 +189,10 @@ public class SeSimClassLoader<T> {
/**
*
* @param additional_pathlist
* @param iface
* @return
*/
public ArrayList<Class<T>> getInstalledClasses(ArrayList<String> additional_pathlist){
if (cache != null) {
return cache;
}
ArrayList<Class<T>> result = new ArrayList<>();
ArrayList<String> pathlist = new ArrayList<>();
@ -284,17 +279,9 @@ public class SeSimClassLoader<T> {
if (cache != null) {
return cache;
}
cache = getInstalledClasses(new ArrayList());
Class<?> tube;
ArrayList<Class<?>> trl;
ArrayList<Class<T>> result = new ArrayList<>();
trl = getInstalledClasses(new ArrayList()); //, class_type);
for (Class<?> c : trl) {
result.add((Class<T>) c);
}
cache = result;
return cache;
}