Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,17 +18,19 @@
package appeng.util.item;
import java.util.Iterator;
import appeng.api.storage.data.IAEStack;
public class MeaningfulIterator<StackType extends IAEStack> implements Iterator<StackType>
{
private final Iterator<StackType> parent;
private StackType next;
public MeaningfulIterator(Iterator<StackType> iterator)
public MeaningfulIterator( Iterator<StackType> iterator )
{
this.parent = iterator;
}
@@ -36,10 +38,10 @@ public class MeaningfulIterator<StackType extends IAEStack> implements Iterator<
@Override
public boolean hasNext()
{
while (this.parent.hasNext())
while( this.parent.hasNext() )
{
this.next = this.parent.next();
if ( this.next.isMeaningful() )
if( this.next.isMeaningful() )
{
return true;
}
@@ -63,5 +65,4 @@ public class MeaningfulIterator<StackType extends IAEStack> implements Iterator<
{
this.parent.remove();
}
}