Remove unused iteration count

This commit is contained in:
MagnusUlf 2016-11-29 11:34:05 +01:00
parent d9e0e0633d
commit e9f9693c71
3 changed files with 4 additions and 11 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}