remove unused private items (eclipse)

This commit is contained in:
zzz
2012-03-26 00:52:06 +00:00
parent 1db58dee89
commit 764a7f2e13
80 changed files with 31 additions and 399 deletions

View File

@@ -167,8 +167,6 @@ abstract class ExtensionHandler {
private static final int TYPE_DATA = 1;
private static final int TYPE_REJECT = 2;
private static final int CHUNK_SIZE = 16*1024;
/**
* REF: BEP 9
* @since 0.8.4
@@ -253,9 +251,11 @@ abstract class ExtensionHandler {
sendMessage(peer, TYPE_REQUEST, piece);
}
/****
private static void sendReject(Peer peer, int piece) {
sendMessage(peer, TYPE_REJECT, piece);
}
****/
/** REQUEST and REJECT are the same except for message type */
private static void sendMessage(Peer peer, int type, int piece) {