[Demonstration 1]

[Buggy Method]
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_post);
    this.avatar_club = (CircleImageView) findViewById(R.id.club_avatar_post);
    this.title = (TextView) findViewById(R.id.post_title);
    this.description = (TextView) findViewById(R.id.post_text);
    this.date = (TextView) findViewById(R.id.post_date);
    // post
    Intent intent = getIntent();
    this.post = intent.getParcelableExtra("post");
    // toolbar
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar_post);
    if (toolbar != null) {
        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setDisplayShowHomeEnabled(true);
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            final Drawable upArrow = ContextCompat.getDrawable(PostActivity.this, R.drawable.abc_ic_ab_back_material);
            upArrow.setColorFilter(0xffffffff, PorterDuff.Mode.SRC_ATOP);
            getSupportActionBar().setHomeAsUpIndicator(upArrow);
        }
    }
    // if we come from an android notification
    if (this.post == null) {
        notification = intent.getParcelableExtra("notification");
        if (HttpGet.credentials != null)
            onActivityResult(NOTIFICATION_MESSAGE, RESULT_OK, null);
        else
            startActivityForResult(new Intent(getApplicationContext(), LoginActivity.class), NOTIFICATION_MESSAGE);
    } else
        generateActivity();
    // fab icon
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        final Drawable bubbleChat = ContextCompat.getDrawable(PostActivity.this, R.drawable.ic_chat_bubble_black_24dp);
        bubbleChat.setColorFilter(0xffffffff, PorterDuff.Mode.SRC_ATOP);
        fab.setImageDrawable(bubbleChat);
    }
}

[Buggy Hunk]
this.avatar_club = (CircleImageView) findViewById(R.id.club_avatar_post);

[Patch]
this.avatar_club = (CircleImageView) findViewById(R.id.post_club_avatar);

[Demonstration 2]

[Buggy Method]
@Test
public void testGetProjectedSchema5() throws Exception {
    MessageType originalMsg = MessageTypeParser.parseMessageType("message hive_schema {\n" + "  optional group structCol {\n" + "    optional int32 a;\n" + "    optional group subStructCol {\n" + "      optional int64 b;\n" + "      optional boolean c;\n" + "    }\n" + "  }\n" + "  optional boolean d;\n" + "}\n");
    testConversion("structCol", "struct<subStructCol:struct<b:bigint,c:boolean>>", DataWritableReadSupport.getProjectedSchema(originalMsg, Arrays.asList("structCol"), Arrays.asList(0), Arrays.asList("structCol.subStructCol", "structCol.subStructCol.b", "structCol" + ".subStructCol.c")).toString());
}

[Buggy Hunk]
"structCol" + ".subStructCol.c")).toString());

[Patch]
"structCol.subStructCol.c")).toString());

[Demonstration 3]

[Buggy Method]
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    TextView textLog = (TextView) findViewById(R.id.textView1);
    FTDriver driver = new FTDriver((UsbManager) getSystemService(USB_SERVICE));
    robot = new Robot(driver, textLog);
    robot.initialize();
}

[Buggy Hunk]
TextView textLog = (TextView) findViewById(R.id.textView1);

[Patch]
textLog = (TextView) findViewById(R.id.textView1);