[Demonstration 1]

[Buggy Method]
private void requestData(String username, String authCode) {
    RequestQueue requestQueue = Volley.newRequestQueue(this);
    progressBarHandler = new ProgressBarHandler(this);
    Map<String, String> params = new HashMap<>();
    params.put("authCode", authCode);
    params.put("username", username);
    String uri = RestURI.getUri("/member/get/", params);
    progressBarHandler.show();
    ALIFStringRequest request = new ALIFStringRequest(RequestMethod.GET, uri, new Response.Listener<String>() {

        @Override
        public void onResponse(String response) {
            ALIFResponse alifResponse = JsonParser.fromJson(response, ALIFResponse.class);
            member = JsonParser.fromJson(JsonParser.toJson(alifResponse.getData()), Member.class);
            progressBarHandler.hide();
            prepareHomePage(member.getRole());
            fragmentManager.pushFragment(R.id.content_frame, DashboardFragment.newInstance(member));
            activeMenuItem = navigationView.getMenu().getItem(0);
            activeMenuItem.setChecked(true);
        }
    }, new Response.ErrorListener() {

        @Override
        public void onErrorResponse(VolleyError error) {
            ToastUtil.toast(getApplicationContext(), error.getMessage());
            progressBarHandler.hide();
        }
    });
    requestQueue.add(request);
}

[Buggy Hunk]
fragmentManager.pushFragment(R.id.content_frame, DashboardFragment.newInstance(member));

[Patch]
fragmentManager.addFragment(R.id.content_frame, DashboardFragment.newInstance(member));

[Demonstration 2]

[Buggy Method]
@Override
public Network implement(Network network, NetworkOffering offering, DeployDestination dest, ReservationContext context) throws InsufficientVirtualNetworkCapcityException {
    s_logger.debug("Creating network " + network.getName() + " in equipment using GloboNetwork");
    try {
        _globoNetworkService.implementNetwork(network);
    } catch (ConfigurationException e) {
        throw new CloudRuntimeException("Unable to activate network " + network, e);
    }
    return super.implement(network, offering, dest, context);
}

[Buggy Hunk]
public Network implement(Network network, NetworkOffering offering, DeployDestination dest, ReservationContext context) throws InsufficientVirtualNetworkCapcityException {

[Patch]
public Network implement(Network network, NetworkOffering offering, DeployDestination dest, ReservationContext context) throws InsufficientVirtualNetworkCapacityException {

[Demonstration 3]

[Buggy Method]
public void setDefaultSelector(Drawable d) {
    mDefaultBackground = d;
    if (!mStacked)
        setStacked(true, true);
}

[Buggy Hunk]
setStacked(true, true);

[Patch]
setStacked(false, true);