public static String encodeAttributeCode(String attributeCode){
  return attributeCode.startsWith("+") ? attributeCode : "+" + attributeCode;
}

public static String encodeAttributeCode ( String attributeCode ) { return attributeCode . startsWith ( "+" ) ? attributeCode : "+" + attributeCode ; }
add dynamic attribute marker ( + ) to attribute code ( if does not exist )
