Replaced equals enum equality check with ==

This commit is contained in:
thatsIch
2015-01-01 21:16:04 +01:00
parent 8179259afa
commit eed0c11d7f
13 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ public enum AEColor
*/
public boolean matches(AEColor color)
{
return equals(Transparent) || color.equals(Transparent) || equals(color);
return equals(Transparent) || color == Transparent || equals(color);
}
@Override