Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -34,23 +34,35 @@ public final class MergedPriorityList<T extends IAEStack<T>> implements IPartiti
public void addNewList( IPartitionList<T> list, boolean isWhitelist )
{
if( isWhitelist )
{
this.positive.add( list );
}
else
{
this.negative.add( list );
}
}
@Override
public boolean isListed( T input )
{
for( IPartitionList<T> l : this.negative )
{
if( l.isListed( input ) )
{
return false;
}
}
if( !this.positive.isEmpty() )
{
for( IPartitionList<T> l : this.positive )
{
if( l.isListed( input ) )
{
return true;
}
}
return false;
}