Spellings and enums equality
This commit is contained in:
@@ -26,7 +26,7 @@ package appeng.api.networking.events;
|
|||||||
import appeng.api.networking.IGridHost;
|
import appeng.api.networking.IGridHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An event that is posted whenever a spatial IO is actived, called for IGridCache
|
* An event that is posted whenever a spatial IO is active, called for IGridCache
|
||||||
*/
|
*/
|
||||||
public class MENetworkSpatialEvent extends MENetworkEvent
|
public class MENetworkSpatialEvent extends MENetworkEvent
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public interface IPathingGrid extends IGridCache
|
|||||||
ControllerState getControllerState();
|
ControllerState getControllerState();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* trigger a network reset, booting, pathfinding and all.
|
* trigger a network reset, booting, path-finding and all.
|
||||||
*/
|
*/
|
||||||
void repath();
|
void repath();
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public interface IIngredient {
|
|||||||
public int getQty();
|
public int getQty();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bakes the lists in for faster runtime lookups.
|
* Bakes the lists in for faster runtime look-ups.
|
||||||
* @throws MissingIngredientError
|
* @throws MissingIngredientError
|
||||||
* @throws RegistrationError
|
* @throws RegistrationError
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ package appeng.api.storage;
|
|||||||
import appeng.api.networking.security.IActionHost;
|
import appeng.api.networking.security.IActionHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a IGridhost that contributes to storage, such as a ME Chest, or ME Drive.
|
* Represents an {@link appeng.api.networking.IGridHost} that contributes to storage, such as a ME Chest, or ME Drive.
|
||||||
*/
|
*/
|
||||||
public interface ICellContainer extends IActionHost, ICellProvider, ISaveProvider
|
public interface ICellContainer extends IActionHost, ICellProvider, ISaveProvider
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public enum AEColor
|
|||||||
*/
|
*/
|
||||||
public boolean matches(AEColor color)
|
public boolean matches(AEColor color)
|
||||||
{
|
{
|
||||||
return this.equals(Transparent) || color == Transparent || this.equals(color);
|
return this == Transparent || color == Transparent || this == color;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user