[Demonstration 1]

[Buggy Method]
public void createDemoDataPomodoro() throws IOException {
    //TODO Insert data
    createDemoDataIkea();
}

[Buggy Hunk]
createDemoDataIkea(); //TODO Insert data

[Patch]
persistIiaPartner("{'iiaId':'iiaId001'}", getInstitution("pomodoro.university.it"), getOrganizationUnit("pomodoro.ou1.it"), getCoordinators("'pomodoro.university.it", "pomodoro.ou1.it"));

[Demonstration 2]

[Buggy Method]
@Override
protected void onHandleIntent(Intent intent) {
    this.stop = new Object();
    try {
        FluentClient.start().withRecordedInputStream(new StreamInfo(1, -1, 1, 8000, false, true, null), this.stop).importToSound().findLoudestFrequencies().shapeIntoSound("default", "simple_piano", new FormatInfo(2, 41000)).exportToFile(new File(Environment.getExternalStorageDirectory() + "/shaped.wav"));
    } catch (SoundTransformException e) {
        e.printStackTrace();
    }
}

[Buggy Hunk]
FluentClient.start ().withRecordedInputStream (new StreamInfo (1, -1, 1, 8000, false, true, null), this.stop).importToSound ().findLoudestFrequencies ().shapeIntoSound ("default", "simple_piano", new FormatInfo (2, 41000)).exportToFile (new File (Environment.getExternalStorageDirectory () + "/shaped.wav"));

[Patch]
FluentClient.start ().withRecordedInputStream (new StreamInfo (1, -1, 2, 8000, false, true, null), this.stop).importToSound ().findLoudestFrequencies ().shapeIntoSound ("default", "simple_piano", new FormatInfo (2, 41000)).exportToFile (new File (Environment.getExternalStorageDirectory () + "/shaped.wav"));

[Demonstration 3]

[Buggy Method]
public static void setMessageLanguage(Locale locale) {
    if (Global.locale.getLanguage().equals(locale.getLanguage()))
        return;
    assetManager.unload(GameConfig.LOCALIZATION_GAMEBUNDLE_PATH);
    assetManager.unload(GameConfig.LOCALIZATION_LEVEL1_PATH);
    Global.locale = locale;
    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_LEVEL1_PATH, I18NBundle.class);
    log.debug("Language changed to  " + gameBundle.getLocale().getDisplayName());
}

[Buggy Hunk]
log.debug("Language changed to  " + gameBundle.getLocale().getDisplayName());

[Patch]
log.debug("Language changed to  " + levelBundle.getLocale().getDisplayName());