Spellings and enums equality

This commit is contained in:
thatsIch
2015-01-02 00:01:34 +01:00
parent 52c512635d
commit 59adde7c6b
5 changed files with 5 additions and 5 deletions
@@ -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
{ {
+1 -1
View File
@@ -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