[Demonstration 1]

[Buggy Method]
public ResponseEntity<String> createDevice(String idonController, String zoneId, String lat, String lng, String macAddress) {
    String mainUrl = properties.getProperty("streetlight.url.main");
    String serveletApiUrl = properties.getProperty("streetlight.url.device.create");
    String url = mainUrl + serveletApiUrl;
    String methodName = properties.getProperty("streetlight.url.device.create.methodName");
    String categoryStrId = properties.getProperty("streetlight.categorystr.id");
    String controllerStrId = properties.getProperty("streetlight.controllerstr.id");
    String nodeTypeStrId = properties.getProperty("streetlight.equipment.type");
    Map<String, String> streetLightDataParams = new HashMap<>();
    streetLightDataParams.put("methodName", methodName);
    streetLightDataParams.put("categoryStrId", categoryStrId);
    streetLightDataParams.put("controllerStrId", controllerStrId);
    streetLightDataParams.put("idOnController", idonController);
    streetLightDataParams.put("geoZoneId", zoneId);
    streetLightDataParams.put("nodeTypeStrId", nodeTypeStrId);
    streetLightDataParams.put("lat", lat);
    streetLightDataParams.put("lng", lng);
    return getRequest(streetLightDataParams, url);
}

[Buggy Hunk]
return getRequest(streetLightDataParams, url);

[Patch]
return getRequest(streetLightDataParams, url,true);

[Demonstration 2]

[Buggy Method]
@Override
public void onItemRangeRemoved(int positionStart, int itemCount) {
    super.onItemRangeRemoved(positionStart, itemCount);
    if (mIsBaseAdapterEnabled) {
        notifyItemRangeRemoved(positionStart, itemCount);
    }
}

[Buggy Hunk]
notifyItemRangeRemoved(positionStart, itemCount);

[Patch]
notifyItemRangeRemoved(getPosition(positionStart), itemCount);