[Demonstration 1]

[Buggy Method]
@Override
public T getItem(int position) {
    return mItems.get(position);
}

[Buggy Hunk]
public T getItem(int position) {

[Patch]
public IFlexible getItem(int position) {

[Demonstration 2]

[Buggy Method]
private boolean updateFile(File themeDir, String fileName) throws IllegalStateException, IOException, URISyntaxException {
    File file = new File(themeDir, fileName);
    if (!Util.downloadFile(new URI(location + "/" + fileName), file)) {
        System.out.println("Could not download file " + fileName + " when updating " + this);
        return false;
    }
    return true;
}

[Buggy Hunk]
private boolean updateFile(File themeDir, String fileName) throws IllegalStateException, IOException,

[Patch]
private boolean updateFile(File themeDir, String fileName) throws IllegalStateException,

[Demonstration 3]

[Buggy Method]
@Override
public T getItem(int position) {
    return mData.get(position);
}

[Buggy Hunk]
return mData.get(position);

[Patch]
return data != null && position >= 0 && position < data.size() ? data.get(position) : null;