[Demonstration 1]

[Buggy Method]
@Override
public void onNodeDragMove(NodeDragMoveEvent event) {
    String color = m_wiresManager.getMagnetManager().findColorAtPoint(m_shapesBacking, event.getX(), event.getY());
    WiresContainer parent = null;
    if (color != null) {
        parent = m_shape_color_map.get(color);
    }
    if (parent != m_parent) {
        boolean batch = false;
        if (m_parent != null && m_parent instanceof WiresShape && m_parent.getContainmentAcceptor() != null) {
            ((WiresShape) m_parent).getPath().setFillColor(m_priorFill);
            ((WiresShape) m_parent).getPath().setAlpha(m_priorAlpha);
            batch = true;
        }
        if (parent != null && parent instanceof WiresShape && parent.getContainmentAcceptor() != null && parent.getContainmentAcceptor().containmentAllowed(parent, m_shape)) {
            highlightContainer((WiresShape) parent);
            batch = true;
        }
        if (batch) {
            m_layer.getLayer().batch();
        }
    }
    m_parent = parent;
}

[Buggy Hunk]
((WiresShape) m_parent).getPath().setAlpha(m_priorAlpha);

[Patch]
((WiresShape) m_parent).getPath().setFillAlpha(m_priorAlpha);

[Demonstration 2]

[Buggy Method]
public void setHeightMetricName(String heightMetricName) {
    this.heightMetricName = heightMetricName;
    double height = getMetric(heightMetricName);
    setHeight(height);
}

[Buggy Hunk]
this.heightMetricName = heightMetricName;

[Patch]
heightMetricNameProperty.setValue(heightMetricName);

[Demonstration 3]

[Buggy Method]
@Override
public final void setHeight(float height) {
    mHeight = height;
}

[Buggy Hunk]
public final void setHeight(float height)

[Patch]
public void setHeight(float height)