forked from I2P_Developers/i2p.i2p
2005-12-30 jrandom
* Close streams more gracefully
This commit is contained in:
@ -35,4 +35,8 @@ public class Piece implements Comparable {
|
||||
public boolean removePeer(Peer peer) { return this.peers.remove(peer.getPeerID()); }
|
||||
public boolean isRequested() { return this.requested; }
|
||||
public void setRequested(boolean requested) { this.requested = requested; }
|
||||
|
||||
public String toString() {
|
||||
return String.valueOf(id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user