[Demonstration 1]

[Buggy Method]
private String getAProperty(String namedProperty) throws Exception {
    Object obj = props.get(namedProperty);
    if (obj == null)
        throw new Exception("Error!  Could not find " + namedProperty + " in " + this.propertiesFile);
    return obj.toString();
}

[Buggy Hunk]
private String getAProperty(String namedProperty) throws Exception

[Patch]
public String getAProperty(String namedProperty) throws Exception

[Demonstration 2]

[Buggy Method]
public static void init(Context context) {
    Volley.newRequestQueue(context);
}

[Buggy Hunk]
Volley.newRequestQueue(context);

[Patch]
sRequestQueue = Volley.newRequestQueue(context);

[Demonstration 3]

[Buggy Method]
@Override
public void init() {
    artifactType = new ArtifactType<String>("puml");
    try {
        directoryLocation = new URL("file:" + CAMEL_CONFIGS_DIRECTORY);
    } catch (MalformedURLException e) {
        logger.error("Error while initializing directoryLocation" + directoryLocation.getPath(), e);
    }
}

[Buggy Hunk]
directoryLocation = new URL("file:" + CAMEL_CONFIGS_DIRECTORY);

[Patch]
directoryLocation = new URL("file:" + EXTERNAL_DSL_CONFIGS_DIRECTORY);