From 7125e9b36096f8b36b59dba0d427b5beb6856a56 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 21 Aug 2024 16:59:26 -0400 Subject: [PATCH] Variable renamed for clarity --- src/engine/wpak/PowersParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 383a078f..15e6656b 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -151,7 +151,7 @@ public class PowersParser { String key = lineValues.get(0).trim(); ActionEntry actionEntry; List arguments; - Matcher matcher1; + Matcher argumentMatcher; switch (key) { case "ACTION": @@ -196,11 +196,11 @@ public class PowersParser { powerEntry.curves.put(arguments.get(0), mbEnums.CompoundCurveType.valueOf(arguments.get(1))); break; case "EQPREREQ": - matcher1 = STRSPLIT_REGEX.matcher(lineValues.get(1).trim()); + argumentMatcher = STRSPLIT_REGEX.matcher(lineValues.get(1).trim()); arguments = new ArrayList<>(); - while (matcher1.find()) - arguments.add(matcher1.group().trim()); + while (argumentMatcher.find()) + arguments.add(argumentMatcher.group().trim()); argumentIterator = arguments.iterator();