Program: 63541
Project: 63541
Buggy source:
static void bind(@NonNull Context context,@NonNull HeaderViewHolder headerViewHolder,@NonNull StoryDetail storyDetail){
  headerViewHolder.mStoryTitle.setText(storyDetail.getTitle());
  headerViewHolder.mStorySubmitter.setText(storyDetail.getUser());
  if (!StoryDetail.JOB.equals(storyDetail.getType())) {
    headerViewHolder.mContent.setVisibility(View.GONE);
    if (StoryDetail.LINK.equals(storyDetail.getType()) && !TextUtils.isEmpty(storyDetail.getDomain())) {
      String domain=storyDetail.getDomain();
      headerViewHolder.mStoryDomain.setVisibility(View.VISIBLE);
      headerViewHolder.mStoryDomain.setText("String_Node_Str" + domain.substring(0,20 > domain.length() ? domain.length() : 20));
    }
 else {
      headerViewHolder.mStoryDomain.setVisibility(View.GONE);
      headerViewHolder.mContent.setVisibility(View.VISIBLE);
      Spanned jobContent=Html.fromHtml(storyDetail.getContent());
      headerViewHolder.mContent.setMovementMethod(LinkMovementMethod.getInstance());
      headerViewHolder.mContent.setText(jobContent);
      headerViewHolder.mContent.setTextColor(context.getResources().getColor(UserPreferenceManager.getInstance().isNightModeEnabled() ? android.R.color.white : android.R.color.black));
    }
    headerViewHolder.mStoryPoints.setText(String.valueOf(storyDetail.getPoints()));
    headerViewHolder.mStoryLongAgo.setText("String_Node_Str" + storyDetail.getTimeAgo());
    headerViewHolder.mCommentsCount.setText(storyDetail.getCommentsCount() + "String_Node_Str");
  }
 else {
    headerViewHolder.mContent.setVisibility(View.VISIBLE);
    Spanned jobContent=Html.fromHtml(storyDetail.getContent());
    headerViewHolder.mContent.setMovementMethod(LinkMovementMethod.getInstance());
    headerViewHolder.mContent.setTextColor(context.getResources().getColor(android.R.color.black));
    headerViewHolder.mContent.setText(jobContent);
    headerViewHolder.mStoryDomain.setVisibility(View.GONE);
    headerViewHolder.mCommentsCount.setVisibility(View.GONE);
    headerViewHolder.mStoryPoints.setVisibility(View.GONE);
  }
}

Fixed version (ground truth):
static void bind(@NonNull Context context,@NonNull HeaderViewHolder headerViewHolder,@NonNull StoryDetail storyDetail){
  headerViewHolder.mStoryTitle.setText(storyDetail.getTitle());
  headerViewHolder.mStorySubmitter.setText(storyDetail.getUser());
  if (!StoryDetail.JOB.equals(storyDetail.getType())) {
    headerViewHolder.mContent.setVisibility(View.GONE);
    if (StoryDetail.LINK.equals(storyDetail.getType()) && !TextUtils.isEmpty(storyDetail.getDomain())) {
      String domain=storyDetail.getDomain();
      headerViewHolder.mStoryDomain.setVisibility(View.VISIBLE);
      headerViewHolder.mStoryDomain.setText("String_Node_Str" + domain.substring(0,20 > domain.length() ? domain.length() : 20));
    }
 else {
      headerViewHolder.mStoryDomain.setVisibility(View.GONE);
      if (!TextUtils.isEmpty(storyDetail.getContent())) {
        headerViewHolder.mContent.setVisibility(View.VISIBLE);
        Spanned jobContent=Html.fromHtml(storyDetail.getContent());
        headerViewHolder.mContent.setMovementMethod(LinkMovementMethod.getInstance());
        headerViewHolder.mContent.setText(jobContent);
        headerViewHolder.mContent.setTextColor(context.getResources().getColor(UserPreferenceManager.getInstance().isNightModeEnabled() ? android.R.color.white : android.R.color.black));
      }
    }
    headerViewHolder.mStoryPoints.setText(String.valueOf(storyDetail.getPoints()));
    headerViewHolder.mStoryLongAgo.setText("String_Node_Str" + storyDetail.getTimeAgo());
    headerViewHolder.mCommentsCount.setText(storyDetail.getCommentsCount() + "String_Node_Str");
  }
 else {
    headerViewHolder.mContent.setVisibility(View.VISIBLE);
    Spanned jobContent=Html.fromHtml(storyDetail.getContent());
    headerViewHolder.mContent.setMovementMethod(LinkMovementMethod.getInstance());
    headerViewHolder.mContent.setTextColor(context.getResources().getColor(android.R.color.black));
    headerViewHolder.mContent.setText(jobContent);
    headerViewHolder.mStoryDomain.setVisibility(View.GONE);
    headerViewHolder.mCommentsCount.setVisibility(View.GONE);
    headerViewHolder.mStoryPoints.setVisibility(View.GONE);
  }
}