Replace call to simple getter from within class with inlined version

This commit is contained in:
thatsIch
2015-03-26 10:23:59 +01:00
parent e41d6a0289
commit 4b4693498d
22 changed files with 56 additions and 47 deletions
+2 -2
View File
@@ -231,9 +231,9 @@ public class AEBasePart implements IPart, IGridProxyable, IActionHost, IUpgradea
protected AEColor getColor()
{
if ( this.getHost() == null )
if ( this.host == null )
return AEColor.Transparent;
return this.getHost().getColor();
return this.host.getColor();
}
@Override