Skip to content

Commit

Permalink
Remove unnecessary check (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Aug 23, 2023
1 parent 475e024 commit d6a0944
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/teragrep/rlp_01/RelpParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public void parse(byte b) {
}
break;
case DATA:
if(this.isComplete) this.state = RelpParserState.NL;
// Parser will only read the given length of data. If the message
// gives data bigger than the frameLength, bad luck for them.
if (frameLengthLeft > 0) {
Expand Down

0 comments on commit d6a0944

Please sign in to comment.