Program: 95302
Project: 95302
Buggy source:
/** 
 * {@inheritDoc}
 */
@SuppressWarnings("String_Node_Str") protected void initPropDescriptor(){
  clearPropertyDescriptors();
  createNamePropertyDescriptor();
  createSpecNamePropertyDescriptor();
  createCommentPropertyDescriptor();
  createTaskIdPropertyDescriptor();
  if (m_eventTypePropDesc == null) {
    PropertyDescriptor cbpd=new PropertyDescriptor(new EventTypeController(),P_ELEMENT_DISPLAY_EVENTTYPE);
    cbpd.setLabelProvider(new LabelProvider(){
      public String getText(      Object element){
        if (element instanceof Integer) {
          return EVENT_TYPES[((Integer)element).intValue()];
        }
        Assert.notReached(Messages.WrongTypeOfElement + StringConstants.EXCLAMATION_MARK);
        return String.valueOf(element);
      }
    }
);
    m_eventTypePropDesc=cbpd;
  }
  addPropertyDescriptor(m_eventTypePropDesc);
  if (m_reentryTypePropDesc == null) {
    PropertyDescriptor cbpd=new ComboBoxPropertyDescriptor(new ReentryTypeController(),P_ELEMENT_DISPLAY_REENTRYTYPE,reentryTypes);
    cbpd.setLabelProvider(new LabelProvider(){
      public String getText(      Object element){
        if (element instanceof Integer) {
          return reentryTypes[((Integer)element).intValue()];
        }
        Assert.notReached("String_Node_Str");
        return String.valueOf(element);
      }
    }
);
    m_reentryTypePropDesc=cbpd;
  }
  addPropertyDescriptor(m_reentryTypePropDesc);
  if (m_maxRetriesPropDesc == null) {
    m_maxRetriesPropDesc=new IntegerTextPropertyDescriptor(new MaxRetriesController(),P_ELEMENT_DISPLAY_MAXRETRIES,false,IEventExecTestCasePO.MIN_VALUE_MAX_NUM_RETRIES,IEventExecTestCasePO.MAX_VALUE_MAX_NUM_RETRIES);
  }
  if (((IEventExecTestCasePO)getPoNode()).getReentryProp().equals(ReentryProperty.RETRY)) {
    addPropertyDescriptor(m_maxRetriesPropDesc);
  }
  addPropertyDescriptor(super.createParamDescriptors());
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
@SuppressWarnings("String_Node_Str") protected void initPropDescriptor(){
  clearPropertyDescriptors();
  createNamePropertyDescriptor();
  createSpecNamePropertyDescriptor();
  createCommentPropertyDescriptor();
  createTaskIdPropertyDescriptor();
  if (m_eventTypePropDesc == null) {
    PropertyDescriptor cbpd=new JBPropertyDescriptor(new EventTypeController(),P_ELEMENT_DISPLAY_EVENTTYPE);
    cbpd.setLabelProvider(new LabelProvider(){
      public String getText(      Object element){
        if (element instanceof Integer) {
          return EVENT_TYPES[((Integer)element).intValue()];
        }
        Assert.notReached(Messages.WrongTypeOfElement + StringConstants.EXCLAMATION_MARK);
        return String.valueOf(element);
      }
    }
);
    m_eventTypePropDesc=cbpd;
  }
  addPropertyDescriptor(m_eventTypePropDesc);
  if (m_reentryTypePropDesc == null) {
    PropertyDescriptor cbpd=new ComboBoxPropertyDescriptor(new ReentryTypeController(),P_ELEMENT_DISPLAY_REENTRYTYPE,reentryTypes);
    cbpd.setLabelProvider(new LabelProvider(){
      public String getText(      Object element){
        if (element instanceof Integer) {
          return reentryTypes[((Integer)element).intValue()];
        }
        Assert.notReached("String_Node_Str");
        return String.valueOf(element);
      }
    }
);
    m_reentryTypePropDesc=cbpd;
  }
  addPropertyDescriptor(m_reentryTypePropDesc);
  if (m_maxRetriesPropDesc == null) {
    m_maxRetriesPropDesc=new IntegerTextPropertyDescriptor(new MaxRetriesController(),P_ELEMENT_DISPLAY_MAXRETRIES,false,IEventExecTestCasePO.MIN_VALUE_MAX_NUM_RETRIES,IEventExecTestCasePO.MAX_VALUE_MAX_NUM_RETRIES);
  }
  if (((IEventExecTestCasePO)getPoNode()).getReentryProp().equals(ReentryProperty.RETRY)) {
    addPropertyDescriptor(m_maxRetriesPropDesc);
  }
  addPropertyDescriptor(super.createParamDescriptors());
}