Vector goodSteps = new Vector();
Vector<MoveStep> goodSteps = new Vector<MoveStep>();
    public void clipToPossible() {        // hopefully there's no impossible steps in the middle of possible ones        Vector goodSteps = new Vector();        for (final Enumeration i = steps.elements(); i.hasMoreElements();) {            final MoveStep step = (MoveStep) i.nextElement();            if (step.getMovementType() != IEntityMovementType.MOVE_ILLEGAL) {                goodSteps.addElement(step);            }        }        steps = goodSteps;    }