mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 15:12:56 +00:00
add missing hashCode()
This commit is contained in:
1 parent
05a290cdd5
commit
a692ab42fa
1 file changed
+5
-1
@@ -39,7 +39,11 @@ public class PoisonI2CPMessage extends I2CPMessageImpl {
|
||||
return MESSAGE_TYPE;
|
||||
}
|
||||
|
||||
/* FIXME missing hashCode() method FIXME */
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return MESSAGE_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object object) {
|
||||
if ((object != null) && (object instanceof PoisonI2CPMessage)) {
|
||||
|
||||
Reference in new issue
Block a user