Object obj1 = step.getInputs()[1];
Circle newCircle = (Circle)step.getOutputs()[0];
if (!(obj1 instanceof Double))
if (obj1 instanceof Line) {
((Line)obj1).removePropertyChangeListener(Line.PROP_LENGTH, newCircle);
newCircle.removePropertyChangeListener(Circle.PROP_RADIUS, (Line)obj1);
}
else {
((Circle)obj1).removePropertyChangeListener(Circle.PROP_RADIUS, newCircle);
newCircle.removePropertyChangeListener(Circle.PROP_RADIUS, (Circle)obj1);
}