12
0

Fix UnsupportedOperationException

Dieser Commit ist enthalten in:
yoyosource 2021-05-14 16:20:53 +02:00
Ursprung 4b23274f8d
Commit 698f2c6cbb

Datei anzeigen

@ -162,7 +162,7 @@ public abstract class SWCommand {
}
private List<Method> methods() {
List<Method> methods = Arrays.asList(getClass().getDeclaredMethods());
List<Method> methods = new ArrayList<>(Arrays.asList(getClass().getDeclaredMethods()));
methods.addAll(Arrays.asList(SWCommand.class.getDeclaredMethods()));
return methods;
}