public static String buildToString(Object... params){
  StringBuffer finalMessage=new StringBuffer();
  int i=0;
  for (  Object object : params) {
    if (i++ > 1) {
      finalMessage.append(FIELD_SEPARATOR);
    }
    if (object instanceof List<?>) {
      finalMessage.append(JKCollectionUtil.toString((List<?>)object));
    }
 else {
      finalMessage.append(JKObjectUtil.toString(object,true));
    }
  }
  String fullText=finalMessage.toString();
  return fullText;
}

public static String buildToString ( Object ... params ) { StringBuffer finalMessage = new StringBuffer ( ) ; int i = 0 ; for ( Object object : params ) { if ( i ++ > 1 ) { finalMessage . append ( FIELD_SEPARATOR ) ; } if ( object instanceof List < ? > ) { finalMessage . append ( JKCollectionUtil . toString ( ( List < ? > ) object ) ) ; } else { finalMessage . append ( JKObjectUtil . toString ( object , true ) ) ; } } String fullText = finalMessage . toString ( ) ; return fullText ; }
builds the to string .
