Remove double negations

This commit is contained in:
thatsIch 2014-11-04 02:01:47 +01:00
parent aa15af0a08
commit bff5a3ec5c
3 changed files with 3 additions and 3 deletions

View file

@ -151,7 +151,7 @@ public class ContainerCraftConfirm extends AEBaseContainer
if ( matched )
matches++;
if ( !found != matched )
if ( found == !matched )
changed = true;
}

View file

@ -71,7 +71,7 @@ public class ContainerCraftingStatus extends ContainerCraftingCPU
if ( matched )
matches++;
if ( !found != matched )
if ( found == !matched )
changed = true;
}

View file

@ -110,7 +110,7 @@ public class PartToggleBus extends PartBasicState
private void updateInternalState()
{
boolean intention = getIntention();
if ( intention != (connection != null) )
if ( intention == ( connection == null ) )
{
if ( proxy.getNode() != null && outerProxy.getNode() != null )
{