[Demonstration 1]

[Buggy Method]
public void parse(InputStream is) throws FileNotFoundException, IOException, Exception {
    ihp = new IntelHexParser(is);
    ihpd = new IntelHexParserRun(0, 0xFFFF);
    ihp.setDataListener(ihpd);
    ihp.parse();
    is.close();
}

[Buggy Hunk]
ihpd = new IntelHexParserRun(0, 0xFFFF);

[Patch]
ihpd = new IntelHexParserRun(0, 0xFFFFFF);

[Demonstration 2]

[Buggy Method]
public static List<Tile> getTileListCopy(List<Tile> list) {
    List<Tile> newList = new ArrayList<>();
    for (Tile tile : list) {
        Tile newTile = new Tile(tile);
        newList.add(newTile);
    }
    return newList;
}

[Buggy Hunk]
Tile newTile = new Tile(tile);

[Patch]
Tile newTile = new Tile(gR, tile);

[Demonstration 3]

[Buggy Method]
public static List<Bitmap> getImageTiles(Context context, String imagePath, int column, int row) {
    List<Bitmap> list = new ArrayList<>();
    Bitmap image;
    if (TextUtils.isEmpty(imagePath)) {
        image = BitmapFactory.decodeResource(context.getResources(), R.drawable.cat);
    } else {
        image = BitmapFactory.decodeFile(imagePath);
    }
    int tileWidth = image.getWidth() / column;
    int tileHeight = image.getHeight() / row;
    for (int i = 0; i < row; i++) {
        for (int j = 0; j < column; j++) {
            Bitmap tile = Bitmap.createBitmap(image, j * tileHeight, i * tileWidth, tileWidth, tileHeight);
            list.add(tile);
        }
    }
    return list;
}

[Buggy Hunk]
public static List<Bitmap> getImageTiles(Context context, String imagePath, int column, int row){

[Patch]
private static List<Bitmap> getImageTiles(Context context, String imagePath, int column, int row){