[Demonstration 1]

[Buggy Method]
public static long eratostene(long x) {
    long s = System.currentTimeMillis();
    long e = System.currentTimeMillis();
    return e - s;
}

[Buggy Hunk]
public static long eratostene(long x) {

[Patch]
static long eratostene(long x) {

[Demonstration 2]

[Buggy Method]
public void addPost(String text, String location, int hash) {
    Log.d(TAG, "Adding new post");
    long time = System.currentTimeMillis();
    Post p = new Post(myId, text, time, 0, 0, iconFromHash(hash), colourFromHash(hash));
    db.addNew("root/" + location, p.toMap());
}

[Buggy Hunk]
long time = System.currentTimeMillis();

[Patch]
int time = (int) (System.currentTimeMillis() / 1000L);

[Demonstration 3]

[Buggy Method]
@Parameters(name = "{index}: {0}")
public static Collection<Object[]> data() {
    return TestScenario.localChromeAndFirefox();
}

[Buggy Hunk]
return TestScenario.localChromeAndFirefox();

[Patch]
return TestScenario.localChromesAndFirefoxs(2);