[Demonstration 1]

[Buggy Method]
private void showDevil(final ImageView current) {
    current.setBackgroundResource(R.drawable.goingupdevil);
    moleAnimation = (AnimationDrawable) current.getBackground();
    moleAnimation.start();
    final int[] devilHit = { 0 };
    current.setOnTouchListener(new View.OnTouchListener() {

        @Override
        public boolean onTouch(View v, MotionEvent event) {
            if ((event.getAction() == MotionEvent.ACTION_DOWN) && (hitSound)) {
                music.playHit();
            }
            if (event.getAction() == MotionEvent.ACTION_UP) {
                ++devilHit[0];
                if (devilHit[0] == 3) {
                    instructions.setText(R.string.great);
                    current.setBackgroundResource(R.drawable.goingdowndevil);
                    current.setImageResource(R.drawable.pow);
                    current.setOnTouchListener(null);
                    moleAnimation = (AnimationDrawable) current.getBackground();
                    moleAnimation.start();
                    firstDevil = false;
                    editor = prefs.edit();
                    editor.putBoolean("first_time_devil", false);
                    editor.apply();
                    new CountDownTimer(2000, 1000) {

                        @Override
                        public void onTick(long l) {
                        }

                        @Override
                        public void onFinish() {
                            instructions.setVisibility(View.GONE);
                            current.setImageResource(android.R.color.transparent);
                            j += 5;
                            count.setText(String.format(getResources().getString(R.string.score), j));
                            Play();
                        }
                    }.start();
                }
            }
            return true;
        }
    });
    counter = new Timer(timer, tick);
    instructions.setText(R.string.hitDevil);
    instructions.setTextColor(Color.BLACK);
    Typeface custom_font = Typeface.createFromAsset(this.getAssets(), "fonts/njnaruto.ttf");
    instructions.setTextSize(30.0f);
    instructions.setTypeface(custom_font);
    instructions.setVisibility(View.VISIBLE);
}

[Buggy Hunk]
instructions.setTextColor(Color.BLACK);

[Patch]
instructions.setTextColor(Color.WHITE);

[Demonstration 2]

[Buggy Method]
public void accessApi(String question) {
    onPreExecute();
    Retrofit retrofit = new Retrofit.Builder().baseUrl(AppConstants.WEBKNOX_BASE_URL).addConverterFactory(ScalarsConverterFactory.create()).build();
    Api service = retrofit.create(Api.class);
    Call<ResponseBody> result = service.answer(question, "text");
    result.enqueue(new Callback<ResponseBody>() {

        @Override
        public void onResponse(Call<ResponseBody> call, Response<ResponseBody> response) {
            try {
                Log.d("MESSAGE : ", response.body().string());
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

        @Override
        public void onFailure(Call<ResponseBody> call, Throwable t) {
            try {
                Log.d("ERROR : ", t.toString());
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    });
    onPostExecute();
}

[Buggy Hunk]
.baseUrl(AppConstants.WEBKNOX_BASE_URL)

[Patch]
.baseUrl(AppConstants.DUCKDUCKGO_BASE_URL)

[Demonstration 3]

[Buggy Method]
@Override
public void onResponse(Call<MovieResponse> call, Response<MovieResponse> response) {
    List<com.app.phedev.popmovie.pojo.Movie> movies = response.body().getResult();
    ContentValues[] contentValues = new ContentValues[movies.size()];
    for (int i = 0; i < movies.size(); i++) {
        Movie listObj2 = movies.get(i);
        movie_id = listObj2.getId();
        ContentValues cv = new ContentValues();
        cv.put(MovieContract.FavoriteEntry.COLUMN_MOVIEID, movie_id);
        cv.put(MovieContract.FavoriteEntry.COLUMN_DATE, listObj2.getRelease());
        cv.put(MovieContract.FavoriteEntry.COLUMN_TITLE, listObj2.getOriTitle());
        cv.put(MovieContract.FavoriteEntry.COLUMN_USERRATING, listObj2.getVoteAvg());
        cv.put(MovieContract.FavoriteEntry.COLUMN_POSTER_PATH, listObj2.getPosterPath());
        cv.put(MovieContract.FavoriteEntry.COLUMN_PLOT_SYNOPSIS, listObj2.getPlot());
        contentValues[i] = cv;
    }
    Uri uri = CONTENT_URI_RATED;
    context.getContentResolver().delete(uri, null, null);
    context.getContentResolver().bulkInsert(uri, contentValues);
    context.getContentResolver().notifyChange(uri, null);
}

[Buggy Hunk]
public void onResponse(Call<MovieResponse> call, Response<MovieResponse> response) {

[Patch]
public void onResponse(@NonNull Call<MovieResponse> call, @NonNull Response<MovieResponse> response) {