[Demonstration 1]

[Buggy Method]
@Override
public void onScanComplete(List<SeenBeacon> beaconList) {
    findViewById(R.id.progress).setVisibility(View.GONE);
    SeenBeacon closestBeacon = null;
    int maxRSSI = -451;
    for (SeenBeacon seenBeacon : beaconList) {
        if (seenBeacon.rssi > maxRSSI) {
            maxRSSI = seenBeacon.rssi;
            closestBeacon = seenBeacon;
        }
    }
    if (closestBeacon == null) {
        // no beacons seen
        status.setVisibility(View.VISIBLE);
        status.setText(R.string.intro_text);
    } else {
        if (baseExhibitURI != null) {
            String contentURI = baseExhibitURI + "/" + closestBeacon.device.getAddress().replaceAll(":", "-");
            Log.d("MainActivity", "Loading uri: " + contentURI);
            webView.loadUrl(contentURI);
            status.setVisibility(View.GONE);
        }
    }
}

[Buggy Hunk]
.replaceAll(":", "-");

[Patch]
.replaceAll(":", "-").toLowerCase();

[Demonstration 2]

[Buggy Method]
@ReactMethod
public void removeConversation(final String type, final String targetId, Promise promise) {
    if (client == null) {
        promise.reject("NotLogined", "Must call connect first.");
        return;
    }
    client.removeConversation(Conversation.ConversationType.valueOf(type.toUpperCase()), targetId, new RongIMClient.ResultCallback<Boolean>() {

        @Override
        public void onError(RongIMClient.ErrorCode errorCode) {
            promise.reject("" + errorCode.getValue(), errorCode.getMessage());
        }

        @Override
        public void onSuccess(Boolean message) {
            promise.resolve(message);
        }
    });
}

[Buggy Hunk]
public void removeConversation(final String type, final String targetId, Promise promise) {

[Patch]
public void removeConversation(final String type, final String targetId, final Promise promise) {

[Demonstration 3]

[Buggy Method]
@Override
public void getError(int reqCode, Integer errorCode, String callerStringID) {
    switch(reqCode) {
        case GET_BUSINESS_REVIEWS_REQUSET:
            //                progressDialog.dismiss();
            hideWaitDialog();
            pullToRefreshListView.onRefreshComplete();
            if (errorCode == ServerAnswer.NETWORK_CONNECTION_ERROR) {
                NetworkConnectivityReciever.setNetworkStateListener(TAG, ActivityBusinessReviews.this);
            }
            if (ServerAnswer.canShowErrorLayout(errorCode)) {
                networkFailLayout.setVisibility(View.VISIBLE);
            } else if (!ServerAnswer.canShowErrorLayout(reqCode) && errorCode != ServerAnswer.NO_REVIEW_ERROR) {
                new DialogMessage(ActivityBusinessReviews.this, ServerAnswer.getError(ActivityBusinessReviews.this, errorCode, callerStringID + ">" + this.getLocalClassName())).show();
                addReview.setVisibility(View.GONE);
            }
            break;
    }
    handleTvNoReviewExist();
}

[Buggy Hunk]
if(ServerAnswer.canShowErrorLayout(errorCode)){

[Patch]
if(ServerAnswer.canShowErrorLayout(errorCode) && status!=Status.REFRESHING){