Changed access to use this qualifier

This commit is contained in:
yueh
2014-12-29 15:13:47 +01:00
parent 2a5e57a59b
commit f471513bd0
604 changed files with 11573 additions and 11573 deletions
@@ -31,27 +31,27 @@ public class FuzzyPriorityList<T extends IAEStack<T>> implements IPartitionList<
final FuzzyMode mode;
public FuzzyPriorityList(IItemList<T> in, FuzzyMode mode) {
list = in;
this.list = in;
this.mode = mode;
}
@Override
public boolean isListed(T input)
{
Collection<T> out = list.findFuzzy( input, mode );
Collection<T> out = this.list.findFuzzy( input, this.mode );
return out != null && !out.isEmpty();
}
@Override
public boolean isEmpty()
{
return list.isEmpty();
return this.list.isEmpty();
}
@Override
public Iterable<T> getItems()
{
return list;
return this.list;
}
}
@@ -32,21 +32,21 @@ public class MergedPriorityList<T extends IAEStack<T>> implements IPartitionList
public void addNewList(IPartitionList<T> list, boolean isWhitelist)
{
if ( isWhitelist )
positive.add( list );
this.positive.add( list );
else
negative.add( list );
this.negative.add( list );
}
@Override
public boolean isListed(T input)
{
for (IPartitionList<T> l : negative)
for (IPartitionList<T> l : this.negative)
if ( l.isListed( input ) )
return false;
if ( !positive.isEmpty() )
if ( !this.positive.isEmpty() )
{
for (IPartitionList<T> l : positive)
for (IPartitionList<T> l : this.positive)
if ( l.isListed( input ) )
return true;
@@ -59,7 +59,7 @@ public class MergedPriorityList<T extends IAEStack<T>> implements IPartitionList
@Override
public boolean isEmpty()
{
return positive.isEmpty() && negative.isEmpty();
return this.positive.isEmpty() && this.negative.isEmpty();
}
@Override
@@ -27,25 +27,25 @@ public class PrecisePriorityList<T extends IAEStack<T>> implements IPartitionLis
final IItemList<T> list;
public PrecisePriorityList(IItemList<T> in) {
list = in;
this.list = in;
}
@Override
public boolean isListed(T input)
{
return list.findPrecise( input ) != null;
return this.list.findPrecise( input ) != null;
}
@Override
public boolean isEmpty()
{
return list.isEmpty();
return this.list.isEmpty();
}
@Override
public Iterable<T> getItems()
{
return list;
return this.list;
}
}