if (null != target)
if (target != null)
    private void torsoTwist(Coords target) {        int direction = ce().getFacing();        if (null != target)            direction = ce().clipSecondaryFacing(ce().getPosition().direction(target));        if (direction != ce().getSecondaryFacing()) {            clearAttacks();            attacks.addElement(new TorsoTwistAction(cen, direction));            ce().setSecondaryFacing(direction);            refreshAll();        }    }