[Demonstration 1]

[Buggy Method]
public final void input(CharSequence text) {
    input(getName(), text);
}

[Buggy Hunk]
input(getName(), text);

[Patch]
input(getName(), text.toString().replace("$","\\$"));

[Demonstration 2]

[Buggy Method]
public void run() throws IOException {
    run(null);
}

[Buggy Hunk]
public void run() throws IOException {

[Patch]
public void run() {

[Demonstration 3]

[Buggy Method]
public void map(IntWritable tid, TimestepWritable timestep, Context context) throws IOException, InterruptedException {
    //System.out.print("in: " + timestep.vehicles.size());
    Iterator<VehicleWritable> itr = timestep.vehicles.iterator();
    while (itr.hasNext()) {
        if (itr.next().vid.get() == 5) {
            itr.remove();
        }
    }
    //System.out.print(" out: " + timestep.vehicles.size() + "\n");
    context.write(tid, timestep);
}

[Buggy Hunk]
if (itr.next().vid.get() == 5) {

[Patch]
if (unclean.contains(itr.next().vid.get())) {