Skip to content

Commit d6a0944

Browse files
Remove unnecessary check (#57)
1 parent 475e024 commit d6a0944

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/teragrep/rlp_01/RelpParser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ public void parse(byte b) {
170170
}
171171
break;
172172
case DATA:
173-
if(this.isComplete) this.state = RelpParserState.NL;
174173
// Parser will only read the given length of data. If the message
175174
// gives data bigger than the frameLength, bad luck for them.
176175
if (frameLengthLeft > 0) {

0 commit comments

Comments
 (0)