Reduces visibility of internal fields/methods

Reduces the visibility of all fields to private and create setters/getters
when necessary. Exceptions are fields with GuiSync as these need to be
public.

Reduces the visibility of internal methods to private/protected/default when possible.
This commit is contained in:
yueh
2015-10-08 15:42:42 +02:00
parent 1ea48fb389
commit 500fc47490
463 changed files with 5670 additions and 3757 deletions
@@ -28,7 +28,7 @@ import appeng.api.storage.data.IAEStack;
public class DefaultPriorityList<T extends IAEStack<T>> implements IPartitionList<T>
{
static final List NULL_LIST = new ArrayList();
private static final List NULL_LIST = new ArrayList();
@Override
public boolean isListed( final T input )
@@ -29,8 +29,8 @@ import appeng.api.storage.data.IItemList;
public class FuzzyPriorityList<T extends IAEStack<T>> implements IPartitionList<T>
{
final IItemList<T> list;
final FuzzyMode mode;
private final IItemList<T> list;
private final FuzzyMode mode;
public FuzzyPriorityList( final IItemList<T> in, final FuzzyMode mode )
{
@@ -26,7 +26,7 @@ import appeng.api.storage.data.IItemList;
public class PrecisePriorityList<T extends IAEStack<T>> implements IPartitionList<T>
{
final IItemList<T> list;
private final IItemList<T> list;
public PrecisePriorityList( final IItemList<T> in )
{