mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-23 14:55:46 +00:00
Update Action.java
Add missing static keyword instead of using abstract list.
This commit is contained in:
@@ -183,17 +183,13 @@ public abstract class Action implements GraphSourceItem {
|
||||
/**
|
||||
* Property names list in lower case
|
||||
*/
|
||||
public static final List<String> propertyNamesListLowerCase = new AbstractList<String>() {
|
||||
@Override
|
||||
public String get(int index) {
|
||||
return propertyNamesList.get(index).toLowerCase();
|
||||
}
|
||||
public static final List<String> propertyNamesListLowerCase = new ArrayList<>();
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return propertyNamesList.size();
|
||||
static {
|
||||
for (String s : propertyNamesList) {
|
||||
propertyNamesListLowerCase.add(s.toLowerCase());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Logger
|
||||
|
||||
Reference in New Issue
Block a user