Java 5 compatibility - remove some @Override pragmas

This commit is contained in:
Miron Cuperman (devrandom) 2011-07-20 20:17:01 +00:00
parent 18d45f0590
commit 0d4daee3c4
3 changed files with 0 additions and 6 deletions

View File

@ -25,11 +25,9 @@ package com.google.bitcoin.core;
*
*/
public class AbstractPeerEventListener extends Object implements PeerEventListener {
@Override
public void onBlocksDownloaded(Peer peer, Block block, int blocksLeft) {
}
@Override
public void onChainDownloadStarted(Peer peer, int blocksLeft) {
}
}

View File

@ -183,7 +183,6 @@ public class PeerGroup {
* we will ask the executor to shutdown and ask each peer to disconnect. At that point
* no threads or network connections will be active.
*/
@Override
public void run() {
try {
while (running) {
@ -216,7 +215,6 @@ public class PeerGroup {
final Peer peer = new Peer(params, address,
blockStore.getChainHead().getHeight(), chain);
Runnable command = new Runnable() {
@Override
public void run() {
try {
log.info("connecting to " + peer);
@ -328,7 +326,6 @@ public class PeerGroup {
"-thread-";
}
@Override
public Thread newThread(Runnable r) {
Thread t = new Thread(group, r,
namePrefix + threadNumber.getAndIncrement(),

View File

@ -36,7 +36,6 @@ public class FetchBlock {
final Peer peer = new Peer(params, new PeerAddress(InetAddress.getLocalHost()), chain);
peer.connect();
new Thread(new Runnable() {
@Override
public void run() {
peer.run();
}