code style
This commit is contained in:
parent
e386ad4b38
commit
e7991b3626
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue