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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user