Fixed warnings

This commit is contained in:
Treeku
2014-07-15 06:16:26 +01:00
parent 9396f65caa
commit 7e1d0b99a9
31 changed files with 50 additions and 42 deletions
+3
View File
@@ -28,6 +28,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import main.NGECore;
import engine.resources.objects.SWGObject;
import engine.resources.service.INetworkDispatch;
@@ -35,6 +36,7 @@ import engine.resources.service.INetworkRemoteEvent;
public class TreasureService implements INetworkDispatch {
@SuppressWarnings("unused")
private NGECore core;
private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);
@@ -51,6 +53,7 @@ public class TreasureService implements INetworkDispatch {
}
@SuppressWarnings("unused")
public void scheduleTreasureService(){
final ScheduledFuture<?> task = scheduler.scheduleAtFixedRate(new Runnable() {