...
To find out, I annotated the clientVersion
parameter to writeHandshakeMessage
this way (adding the @NotNull
annotation):
public void writeHandshakeMessage(DataOutputStream dos, byte type, String p_msg, @NotNull final KnownVersion clientVersion, byte endpointType, int queueSize) throws IOException {
...