only: reducing magic just a bit?

This commit is contained in:
rusefillc 2024-02-14 10:14:10 -05:00
parent 87949643a8
commit 9b95482a07
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ public class ReaderStateImpl implements ReaderState {
enumsReader.enums.putAll(newEnums);
}
private void handleCustomLine(String line) {
line = line.substring(CUSTOM.length() + 1).trim();
private void handleCustomLine(String customLineWithPrefix) {
String line = customLineWithPrefix.substring(CUSTOM.length() + 1).trim();
int index = line.indexOf(' ');
String name = line.substring(0, index);