Skip to content

Commit

Permalink
Eliminate code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Mar 3, 2024
1 parent b494679 commit 3cd0b25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ private boolean processUnIntroduced(NetworkMessageType type, ObjectInputStream i
}
}

private NetworkHelloMessage introduce(ObjectInputStream in) throws IOException, ClassNotFoundException {
private NetworkHelloMessage introduce(ObjectInputStream in) throws IOException {
final NetworkHelloMessage hello = NetworkHelloMessage.unmarshall(in);
fireOnByteReceived(1 + hello.getWireSize()); // +1 : magic number (byte)
if (!isCompatibleVersion(hello.getMajor(), hello.getMinor(), Version.get())) {
Expand Down

0 comments on commit 3cd0b25

Please sign in to comment.