Program: 15158
Project: 15158
Buggy source:
@SuppressWarnings("String_Node_Str") private void changeCommentStatus(final String newStatus,final int selCommentID){
  client=new XMLRPCClient(WordPress.currentBlog.getUrl(),WordPress.currentBlog.getHttpuser(),WordPress.currentBlog.getHttppassword());
  Map<String,String> contentHash, postHash=new HashMap<String,String>();
  contentHash=(Map<String,String>)commentList.allComments.get(selCommentID);
  postHash.put("String_Node_Str",newStatus);
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  Object[] params={WordPress.currentBlog.getBlogId(),WordPress.currentBlog.getUsername(),WordPress.currentBlog.getPassword(),selCommentID,postHash};
  Object result=null;
  try {
    result=(Object)client.call("String_Node_Str",params);
    boolean bResult=Boolean.parseBoolean(result.toString());
    if (bResult) {
      WordPress.currentComment.status=newStatus;
      commentList.model.set(WordPress.currentComment.position,WordPress.currentComment);
      WordPress.wpDB.updateCommentStatus(id,WordPress.currentComment.commentID,newStatus);
    }
    dismissDialog(ID_DIALOG_MODERATING);
    Thread action=new Thread(){
      public void run(){
        Toast.makeText(CommentsActivity.this,getResources().getText(R.string.comment_moderated),Toast.LENGTH_SHORT).show();
      }
    }
;
    runOnUiThread(action);
    Thread action2=new Thread(){
      public void run(){
        commentList.getListView().invalidateViews();
      }
    }
;
    runOnUiThread(action2);
  }
 catch (  final XMLRPCException e) {
    dismissDialog(ID_DIALOG_MODERATING);
    Thread action3=new Thread(){
      public void run(){
        AlertDialog.Builder dialogBuilder=new AlertDialog.Builder(CommentsActivity.this);
        dialogBuilder.setTitle(getResources().getText(R.string.connection_error));
        dialogBuilder.setMessage(getResources().getText(R.string.error_moderate_comment));
        dialogBuilder.setPositiveButton("String_Node_Str",new DialogInterface.OnClickListener(){
          public void onClick(          DialogInterface dialog,          int whichButton){
          }
        }
);
        dialogBuilder.setCancelable(true);
        if (!isFinishing()) {
          dialogBuilder.create().show();
        }
      }
    }
;
    runOnUiThread(action3);
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") private void changeCommentStatus(final String newStatus,final int selCommentID){
  client=new XMLRPCClient(WordPress.currentBlog.getUrl(),WordPress.currentBlog.getHttpuser(),WordPress.currentBlog.getHttppassword());
  Map<String,String> contentHash, postHash=new HashMap<String,String>();
  contentHash=(Map<String,String>)commentList.allComments.get(selCommentID);
  postHash.put("String_Node_Str",newStatus);
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  postHash.put("String_Node_Str",contentHash.get("String_Node_Str"));
  Object[] params={WordPress.currentBlog.getBlogId(),WordPress.currentBlog.getUsername(),WordPress.currentBlog.getPassword(),selCommentID,postHash};
  Object result=null;
  try {
    result=(Object)client.call("String_Node_Str",params);
    boolean bResult=Boolean.parseBoolean(result.toString());
    if (bResult) {
      WordPress.currentComment.status=newStatus;
      commentList.model.set(WordPress.currentComment.position,WordPress.currentComment);
      WordPress.wpDB.updateCommentStatus(id,WordPress.currentComment.commentID,newStatus);
      contentHash.put("String_Node_Str",newStatus);
    }
    dismissDialog(ID_DIALOG_MODERATING);
    Thread action=new Thread(){
      public void run(){
        Toast.makeText(CommentsActivity.this,getResources().getText(R.string.comment_moderated),Toast.LENGTH_SHORT).show();
      }
    }
;
    runOnUiThread(action);
    Thread action2=new Thread(){
      public void run(){
        commentList.getListView().invalidateViews();
      }
    }
;
    runOnUiThread(action2);
  }
 catch (  final XMLRPCException e) {
    dismissDialog(ID_DIALOG_MODERATING);
    Thread action3=new Thread(){
      public void run(){
        AlertDialog.Builder dialogBuilder=new AlertDialog.Builder(CommentsActivity.this);
        dialogBuilder.setTitle(getResources().getText(R.string.connection_error));
        dialogBuilder.setMessage(getResources().getText(R.string.error_moderate_comment));
        dialogBuilder.setPositiveButton("String_Node_Str",new DialogInterface.OnClickListener(){
          public void onClick(          DialogInterface dialog,          int whichButton){
          }
        }
);
        dialogBuilder.setCancelable(true);
        if (!isFinishing()) {
          dialogBuilder.create().show();
        }
      }
    }
;
    runOnUiThread(action3);
  }
}