Method and Description |
---|
com.diffplug.common.hash.Hasher.hashCode()
This returns
Object.hashCode() ; you almost certainly mean to call hash().asInt() . |
com.diffplug.common.hash.BloomFilter.test(T)
Provided only to satisfy the
Predicate interface; use BloomFilter.mightContain(T) instead. |
com.diffplug.common.io.LittleEndianDataOutputStream.writeBytes(String)
The semantics of
writeBytes(String s) are considered dangerous. Please use LittleEndianDataOutputStream.writeUTF(String s) , LittleEndianDataOutputStream.writeChars(String s) or another write method instead. |
com.diffplug.common.io.ByteArrayDataOutput.writeBytes(String)
This method is dangerous as it discards the high byte of every character. For UTF-8, use
write(s.getBytes(StandardCharsets.UTF_8)) . |