[Demonstration 1]

[Buggy Method]
private void loadDatabase() {
    references = (ArrayList<Reference>) FileIO.loadFileIntoObject(references, filename);
    if (references == null) {
        references = new ArrayList<>();
        ;
    }
    for (Reference reference : references) {
        referencemap.put(reference.getTag(), reference);
    }
}

[Buggy Hunk]
references = new ArrayList<>();;

[Patch]
references = new ArrayList();

[Demonstration 2]

[Buggy Method]
public static void main(String... args) throws Exception {
    Vertx.vertx().deployVerticle(new Main());
}

[Buggy Hunk]
public static void main(String... args) throws Exception {

[Patch]
public static void main(String... args) throws LiquibaseException, SQLException {

[Demonstration 3]

[Buggy Method]
public Object readResolve() {
    if (graphConfiguration == null) {
        graphConfiguration = new ArrayList<>();
    }
    if (getParserUniqueName() == null || getParserUniqueName() == null) {
        logger.log(Level.FINE, "Entering 1.x compatibility block, assigning name: Default");
        setParserUniqueName("Default");
    }
    return this;
}

[Buggy Hunk]
if (getParserUniqueName() == null || getParserUniqueName() == null) {

[Patch]
if (getParserUniqueName() == null) {