mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-01-17 00:05:17 -05:00
Fixed some warnings in ObjectService
This commit is contained in:
@@ -28,4 +28,4 @@ DO.ISOLATION.TESTS=0
|
||||
|
||||
# Toggles GCW Invasions System.
|
||||
# 1 = On, 0 = Off.
|
||||
ENABLE.INVASIONS=0
|
||||
ENABLE.INVASIONS=1
|
||||
|
||||
@@ -1288,7 +1288,8 @@ public class ObjectService implements INetworkDispatch {
|
||||
if(! checkIfObjectAlreadyInList(object.getObjectID()))
|
||||
objectList.put(object.getObjectID(), object);
|
||||
} else {
|
||||
Thread.currentThread().dumpStack();
|
||||
Thread.currentThread();
|
||||
Thread.dumpStack();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1731,12 +1732,12 @@ public class ObjectService implements INetworkDispatch {
|
||||
}
|
||||
|
||||
private void addCellsToBuildings(){
|
||||
Iterator it = null;
|
||||
Iterator<?> it = null;
|
||||
synchronized(buildingMap){
|
||||
it = buildingMap.entrySet().iterator();
|
||||
}
|
||||
while (it.hasNext()) {
|
||||
Map.Entry pairs = (Map.Entry)it.next();
|
||||
Map.Entry<?, ?> pairs = (Map.Entry<?, ?>)it.next();
|
||||
long buildingId = (long) pairs.getKey();
|
||||
BuildingObject building = (BuildingObject)pairs.getValue();
|
||||
//System.out.println("We have buildingId " +buildingId);
|
||||
|
||||
Reference in New Issue
Block a user