Refactor all arrays to arraylist usage.
This commit is contained in:
1 parent
4bcf00fd6f
commit
d0f1a73a9f
3 files changed
+90
-86
No files matched your search
@@ -125,7 +125,7 @@ public class EffectsParser {
|
||||
matcher = CONDITIONS_REGEX.matcher(effectData);
|
||||
|
||||
while (matcher.find()) {
|
||||
List<String> conditions = new ArrayList<>(Arrays.asList(matcher.group().trim().split("\n")));
|
||||
String[] conditions = matcher.group().trim().split("\n");
|
||||
|
||||
for (String condition : conditions) {
|
||||
List<String> parameters = Arrays.asList(condition.trim().split("\\s+"));
|
||||
|
||||
Reference in new issue
Block a user