[Demonstration 1]

[Buggy Method]
public String getJson() {
    return DataLayerUtil.toJSON(dataLayer);
}

[Buggy Hunk]
return DataLayerUtil.toJSON(dataLayer);

[Patch]
return dataLayer != null ? DataLayerUtil.toJSON(dataLayer) : "";

[Demonstration 2]

[Buggy Method]
private void setupNavView() {
    AsyncTaskHelper.runAsyncTask(new AsyncTask<Void, Void, User>() {

        @Override
        protected User doInBackground(Void... voids) {
            try {
                return Global.getInstagramFacade().getUserInfo();
            } catch (Exception e) {
                InstagramResponseChecker.checkException(HomePageActivity.this, e);
            }
            return null;
        }

        @Override
        protected void onPostExecute(User user) {
            if (user != null) {
                GlideHelper.loadToCircularImage(HomePageActivity.this, userHeadImgNav, user.getProfile_picture());
                userNameTxtNav.setText(user.getFull_name());
                userIdTxtNav.setText("@" + user.getUsername());
            }
        }
    });
}

[Buggy Hunk]
AsyncTaskHelper.runAsyncTask(new AsyncTask<Void, Void, User>() {

[Patch]
AsyncTaskHelper.runAsyncTask(userTask = new AsyncTask<Void, Void, User>() {

[Demonstration 3]

[Buggy Method]
@Override
public void onSurfaceCreated(GL10 gl, EGLConfig config) {
    // 初始化native的OpenGL绘制
    //			mNativeBase.glNativeInit(); // native层OpenGL初始化
    GLES20.glClearColor(0, 0, 1.0f, 1.0f);
    MatrixState.setLightLocation(40.0f, 10.0f, 20.0f);
    GLES20.glEnable(GLES20.GL_CULL_FACE);
    GLES20.glEnable(GLES20.GL_DEPTH_TEST);
    mLoadedModel = LoadUtil.loadFromFile("babyInMom.obj", MyGLView.this.getResources(), MyGLView.this);
    mTextureId = initTexture(R.drawable.star_on);
    mRotateThread = new RotateThread();
    mRotateThread.start();
}

[Buggy Hunk]
mTextureId = initTexture(R.drawable.star_on);

[Patch]
mTextureId = initTexture(R.drawable.baby_in_mom);