Linting dep-ann: Added @Deprecated annotations in i2psnark, i2ptunnel, ministreaming, routerconsole, streaming

This commit is contained in:
z3r0fox
2016-02-06 22:38:10 +00:00
parent b1eaa772a1
commit 691e274ca7
23 changed files with 37 additions and 1 deletions

View File

@@ -196,6 +196,7 @@ public class PeerID implements Comparable<PeerID>
* Compares port, address and id.
* @deprecated unused? and will NPE now that address can be null?
*/
@Deprecated
public int compareTo(PeerID pid)
{
int result = port - pid.port;