Program: 147496
Project: 147496
Buggy source:
@SuppressWarnings("String_Node_Str") private void handlePersistentProperty(SemanticPersistentProperty persistentProperty){
  if (isRetrivableProperty(persistentProperty)) {
    Object objectValue=propertyToValue.get(persistentProperty.getName());
    if (objectValue != null) {
      if (objectValue instanceof Collection<?> || objectValue.getClass().isArray()) {
        if (objectValue.getClass().isArray()) {
          objectValue=Arrays.asList((Object[])objectValue);
        }
        for (        Object o : (Collection<Object>)objectValue) {
          Value val=this.objectToLiteralConverter.convert(o);
          String obj=val instanceof URI ? "String_Node_Str" + val + "String_Node_Str" : val.toString();
          appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",obj);
        }
      }
 else {
        Value val=this.objectToLiteralConverter.convert(objectValue);
        String obj=val instanceof URI ? "String_Node_Str" + val + "String_Node_Str" : val.toString();
        appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",obj);
      }
    }
 else {
      appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",getObjectBinding(binding,persistentProperty));
    }
  }
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") private void handlePersistentProperty(SemanticPersistentProperty persistentProperty){
  if (isRetrivableProperty(persistentProperty)) {
    Object objectValue=propertyToValue.get(persistentProperty.getName());
    if (objectValue != null) {
      if (objectValue instanceof Collection<?> || objectValue.getClass().isArray()) {
        if (objectValue.getClass().isArray()) {
          objectValue=Arrays.asList((Object[])objectValue);
        }
        for (        Object o : (Collection<Object>)objectValue) {
          Value val=this.objectToLiteralConverter.convert(o);
          String obj=val instanceof URI ? "String_Node_Str" + val + "String_Node_Str" : val.toString();
          if (originalPredicates) {
            appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getPredicate() + "String_Node_Str",obj);
          }
 else {
            appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",obj);
          }
        }
      }
 else {
        Value val=this.objectToLiteralConverter.convert(objectValue);
        String obj=val instanceof URI ? "String_Node_Str" + val + "String_Node_Str" : val.toString();
        if (originalPredicates) {
          appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getPredicate() + "String_Node_Str",obj);
        }
 else {
          appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",obj);
        }
      }
    }
 else {
      if (originalPredicates) {
        appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getPredicate() + "String_Node_Str",getObjectBinding(binding,persistentProperty));
      }
 else {
        appendPattern(sb,binding,"String_Node_Str" + persistentProperty.getAliasPredicate() + "String_Node_Str",getObjectBinding(binding,persistentProperty));
      }
    }
  }
}