code style

This commit is contained in:
rusefillc 2021-04-29 21:55:49 -04:00
parent e386ad4b38
commit e7991b3626
1 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ public class ReaderState {
handleStartStructure(this, line.substring(STRUCT_NO_PREFIX.length()), false); handleStartStructure(this, line.substring(STRUCT_NO_PREFIX.length()), false);
} else if (line.startsWith(END_STRUCT)) { } else if (line.startsWith(END_STRUCT)) {
addBitPadding(); addBitPadding();
this.handleEndStruct(consumers); handleEndStruct(consumers);
} else if (line.startsWith(BIT)) { } else if (line.startsWith(BIT)) {
handleBitLine(this, line); handleBitLine(this, line);
@ -195,8 +195,8 @@ public class ReaderState {
} }
public void ensureEmptyAfterProcessing() { public void ensureEmptyAfterProcessing() {
if (!this.stack.isEmpty()) if (!stack.isEmpty())
throw new IllegalStateException("Unclosed structure: " + this.stack.peek().getName()); throw new IllegalStateException("Unclosed structure: " + stack.peek().getName());
} }
private static void handleStartStructure(ReaderState state, String line, boolean withPrefix) { private static void handleStartStructure(ReaderState state, String line, boolean withPrefix) {