[Demonstration 1]

[Buggy Method]
@Override
public void shutdown() {
    if (started) {
        logger.debug("Shutting down PluginImpl!");
        this.deploymentMonitor.stop();
        this.stopOSGiFramework();
        this.started = false;
    }
}

[Buggy Hunk]
logger.debug("Shutting down PluginImpl!");

[Patch]
LOGGER.debug("Shutting down PluginImpl!");

[Demonstration 2]

[Buggy Method]
@Override
public void stop() {
    try {
        if (isStarted) {
            sched.shutdown();
        }
    } catch (SchedulerException ex) {
        // TODO: Print log
    }
}

[Buggy Hunk]
sched.shutdown();

[Patch]
sched.shutdown(false);  // no wait of tasks finished

[Demonstration 3]

[Buggy Method]
@Override
public void parse(Context context, SceneObject object, AttributeSet attributeSet) {
    String rotation = attributeSet.getAttributeValue(NAMESPACE, "rotation");
    if (rotation != null) {
        String[] arr = rotation.split("\\s+");
        if (arr.length == 4) {
            try {
                float angle = Float.parseFloat(arr[0]);
                float axisX = Float.parseFloat(arr[1]);
                float axisY = Float.parseFloat(arr[2]);
                float axisZ = Float.parseFloat(arr[3]);
                object.rotation(new Quaternionf().rotateAxis(angle, axisX, axisY, axisZ));
                return;
            } catch (NumberFormatException e) {
                e.printStackTrace();
            }
        }
    }
}

[Buggy Hunk]
object.rotation(new Quaternionf().rotateAxis(angle, axisX, axisY, axisZ));

[Patch]
object.rotation(new Quaternionf().rotateAxis((float) Math.toRadians(angle), axisX, axisY, axisZ));