forked from I2P_Developers/i2p.i2p
i2psnark:
- Update session options when max bandwidth changes - BufferedStream cleanup and comments - torrent name display tweak - findbugs
This commit is contained in:
@@ -35,8 +35,8 @@ class Piece implements Comparable {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == null) return false;
|
||||
if (o instanceof Piece) {
|
||||
if (o == null) return false;
|
||||
return this.id == ((Piece)o).id;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user