mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 11:29:23 +00:00
commit
0b2e47d88d
1 file changed
+2
-2
@@ -46,8 +46,8 @@ public class ManagerMachine extends ManagerBase {
|
||||
return;
|
||||
}
|
||||
|
||||
Set<Class<?>> interfaces = new HashSet<Class<?>>();
|
||||
for (Class<?> currentClass = component; currentClass != null; currentClass = null) {
|
||||
Set<Class<?>> interfaces = new HashSet<>();
|
||||
for (Class<?> currentClass = component; currentClass != null; currentClass = currentClass.getSuperclass()) {
|
||||
Collections.addAll(interfaces, currentClass.getInterfaces());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user