[Demonstration 1]

[Buggy Method]
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
    switch(getSlope(e1.getX(), e1.getY(), e2.getX(), e2.getY())) {
        case 1:
            Log.d(DEBUG_TAG, "top");
            if (mHand.isHidden) {
                mHand.bringBackToScreen();
            }
            return true;
        case 2:
            Log.d(DEBUG_TAG, "left");
            return true;
        case 3:
            Log.d(DEBUG_TAG, "down");
            if (!mHand.isHidden) {
                mHand.hideBelowScreen();
            }
            return true;
        case 4:
            Log.d(DEBUG_TAG, "right");
            return true;
    }
    return false;
}

[Buggy Hunk]
if (!mHand.isHidden) {

[Patch]
if (!mHand.isHidden && mHand.getmCardsInHand() > 0) {

[Demonstration 2]

[Buggy Method]
@Override
public int hashCode() {
    return new HashCodeBuilder().append(id).append(uri).append(url).append(account).append(inReplyToId).append(inReplyToAccountId).append(reblog).append(content).append(createdAt).append(reblogsCount).append(favouritesCount).append(reblogged).append(favourited).append(sensitive).append(spoilerText).append(visibility).append(mediaAttachments).append(mentions).append(tags).append(application).append(pixivCards).toHashCode();
}

[Buggy Hunk]
return new HashCodeBuilder().append(id).append(uri).append(url).append(account).append(inReplyToId).append(inReplyToAccountId).append(reblog).append(content).append(createdAt).append(reblogsCount).append(favouritesCount).append(reblogged).append(favourited).append(sensitive).append(spoilerText).append(visibility).append(mediaAttachments).append(mentions).append(tags).append(application).append(pixivCards).toHashCode();

[Patch]
return new HashCodeBuilder().append(id).append(uri).append(url).append(account).append(inReplyToId).append(inReplyToAccountId).append(reblog).append(content).append(createdAt).append(reblogsCount).append(favouritesCount).append(reblogged).append(favourited).append(sensitive).append(spoilerText).append(visibility).append(mediaAttachments).append(mentions).append(tags).append(application).append(pixivCards).append(language).toHashCode();

[Demonstration 3]

[Buggy Method]
public void setPost(@NonNull VKApiPost post) {
    postText.setText(post.text);
    postDate.setText(formatPostDate(post.date));
    PostAuthorInformation author = getAuthorInformation(post.from_id);
    postAuthorPhoto.setDownloadableImageUri(author.imageUriStr);
    postAuthorName.setText(author.name);
    postPhotoAttachments.setAttachments(post.attachments);
    postLinkAttachments.setAttachments(post.attachments);
    if (post.copy_history == null || post.copy_history.size() == 0) {
        postCopy.setVisibility(GONE);
    } else {
        postCopy.setVisibility(VISIBLE);
        VKApiPost copyPost = post.copy_history.get(0);
        postCopyText.setText(copyPost.text);
        postCopyDate.setText(formatPostDate(copyPost.date));
        PostAuthorInformation copyAuthor = getAuthorInformation(copyPost.from_id);
        postCopyAuthorPhoto.setDownloadableImageUri(copyAuthor.imageUriStr);
        postCopyAuthorName.setText(copyAuthor.name);
        postCopyPhotoAttachments.setAttachments(copyPost.attachments);
        postCopyLinkAttachments.setAttachments(post.attachments);
    }
}

[Buggy Hunk]
postCopyLinkAttachments.setAttachments(post.attachments);

[Patch]
postCopyLinkAttachments.setAttachments(copyPost.attachments);