[Demonstration 1]

[Buggy Method]
public void setR(int r) {
    this.rgb.replace("r", r);
}

[Buggy Hunk]
this.rgb.replace("r",r);

[Patch]
this.rgb.put("r",r);

[Demonstration 2]

[Buggy Method]
@Override
public void requestWelcomeData() {
    //        welcomeScreenView.showProgressBar(true);
    welcomeScreenProvider.requestWelcomeData(new WelcomeScreenCallBack() {

        @Override
        public void onSuccess(WelcomeScreenData welcomeScreenData) {
            if (welcomeScreenData.isSuccess()) {
                welcomeScreenView.showMessage(welcomeScreenData);
                welcomeScreenView.showProgressBar(false);
                welcomeScreenView.showError("Success");
            } else {
                welcomeScreenView.showProgressBar(false);
                welcomeScreenView.showError("Something went wrong");
            }
        }

        @Override
        public void onFailure(String error) {
            welcomeScreenView.showError("Failed");
            welcomeScreenView.showProgressBar(false);
        }
    });
}

[Buggy Hunk]
public void onFailure(String error) {

[Patch]
public void onFailure() {

[Demonstration 3]

[Buggy Method]
@Override
protected void configure(HttpSecurity http) throws Exception {
    http.authorizeRequests().antMatchers("/series/match").permitAll().anyRequest().authenticated().and().csrf().disable();
}

[Buggy Hunk]
.anyRequest().authenticated().and().csrf().disable();

[Patch]
.anyRequest().authenticated().and().httpBasic().and().csrf().disable();