[Demonstration 1]

[Buggy Method]
public static void load(String packName) {
    locale = Locale.getDefault();
    currentLevel = new AssetDescriptor<TextureAtlas>(packName, TextureAtlas.class);
    assetManager.load(currentLevel);
    assetManager.load("sound/through_space.mp3", Music.class);
    assetManager.load("sound/xeon6.mp3", Music.class);
    assetManager.load("sound/slimeball.mp3", Sound.class);
    assetManager.load("sound/foom_0.mp3", Sound.class);
    assetManager.load("sound/acid6.mp3", Sound.class);
    assetManager.load("sound/rlaunch.mp3", Sound.class);
    assetManager.load(GameConfig.LOCALIZATION_GAMEBUNDLE_PATH, I18NBundle.class, new I18NBundleLoader.I18NBundleParameter(locale));
    assetManager.load(GameConfig.LOCALIZATION_LEVEL1_PATH, I18NBundle.class, new I18NBundleLoader.I18NBundleParameter(locale));
    assetManager.finishLoading();
    gameBundle = assetManager.get(GameConfig.LOCALIZATION_GAMEBUNDLE_PATH, I18NBundle.class);
    levelBundle = assetManager.get(GameConfig.LOCALIZATION_GAMEBUNDLE_PATH, I18NBundle.class);
    log.debug(gameBundle.getLocale().getDisplayName());
    log.debug(gameBundle.getLocale().getDisplayName());
}

[Buggy Hunk]
levelBundle = assetManager.get(GameConfig.LOCALIZATION_GAMEBUNDLE_PATH, I18NBundle.class);

[Patch]
levelBundle = assetManager.get(GameConfig.LOCALIZATION_LEVEL1_PATH, I18NBundle.class);

[Demonstration 2]

[Buggy Method]
@FXML
private void handleSellEnergy() {
    Stage dialogStage;
    dialogStage = (Stage) playerNum.getScene().getWindow();
    if (currentPlayer.getEnergy() > 0) {
        currentPlayer.setEnergy(currentPlayer.getEnergy() - 1);
        currentPlayer.setMoney(currentPlayer.getMoney() + 10);
        food.setText("Current food: " + currentPlayer.getFood());
        cash.setText("Current cash: " + currentPlayer.getMoney());
    } else {
        Alert alert = new Alert(AlertType.ERROR);
        alert.initOwner(dialogStage);
        alert.setTitle("Not Enough Energy");
        alert.setHeaderText("Not Enough Energy for Transcation");
        alert.showAndWait();
    }
}

[Buggy Hunk]
dialogStage = (Stage) playerNum.getScene().getWindow();

[Patch]
dialogStage = (Stage) exitButton.getScene().getWindow();

[Demonstration 3]

[Buggy Method]
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    Intent intentChange = new Intent(context, AlarmScene.class);
    context.startActivity(intentChange);
}

[Buggy Hunk]
Intent intentChange = new Intent(context, AlarmScene.class);

[Patch]
Intent intentChange = new Intent(context, PracticeScene.class);