Remove unused iteration count
This commit is contained in:
parent
d9e0e0633d
commit
e9f9693c71
@ -11,12 +11,6 @@ public abstract class ModificationPollerAbstract extends Thread
|
||||
this.setName("MStore " + this.getClass().getSimpleName());
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// FIELDS
|
||||
// -------------------------------------------- //
|
||||
|
||||
private long iterationCount = 1;
|
||||
|
||||
// -------------------------------------------- //
|
||||
// OVERRIDE
|
||||
// -------------------------------------------- //
|
||||
@ -30,7 +24,6 @@ public abstract class ModificationPollerAbstract extends Thread
|
||||
{
|
||||
//System.out.println("Polling locally: " + MassiveCoreMConf.get().millisBetweenLocalPoll);
|
||||
this.identify();
|
||||
iterationCount++;
|
||||
|
||||
//String message = Txt.parse("<i>LocalModificationThread iteration took <h>%dms<i>.", after-before);
|
||||
//MassiveCore.get().log(message);
|
||||
@ -58,7 +51,7 @@ public abstract class ModificationPollerAbstract extends Thread
|
||||
{
|
||||
for (Coll<?> coll : Coll.getInstances())
|
||||
{
|
||||
this.poll(coll, this.iterationCount);
|
||||
this.poll(coll);
|
||||
}
|
||||
}
|
||||
|
||||
@ -67,6 +60,6 @@ public abstract class ModificationPollerAbstract extends Thread
|
||||
// -------------------------------------------- //
|
||||
|
||||
public abstract long getMillisBetweenPoll();
|
||||
public abstract void poll(Coll<?> coll, long iterationCount);
|
||||
public abstract void poll(Coll<?> coll);
|
||||
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ public class ModificationPollerLocal extends ModificationPollerAbstract
|
||||
}
|
||||
|
||||
@Override
|
||||
public void poll(Coll<?> coll, long iterationCount)
|
||||
public void poll(Coll<?> coll)
|
||||
{
|
||||
coll.identifyLocalModifications(Modification.UNKNOWN_LOG);
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public class ModificationPollerRemote extends ModificationPollerAbstract
|
||||
}
|
||||
|
||||
@Override
|
||||
public void poll(Coll<?> coll, long iterationCount)
|
||||
public void poll(Coll<?> coll)
|
||||
{
|
||||
coll.identifyRemoteModifications(Modification.UNKNOWN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user