same as hibernate internal org.hibernate.internal.util.stringhelper #join methods concode_field_sep PlaceHolder placeHolder concode_field_sep String determineShortName
String function ( String [ ] arg0 , char arg1 ) { if ( arg0 == null ) { return null ; } final StringBuilder loc0 = new StringBuilder ( ) ; for ( String loc1 : arg0 ) { loc0 . append ( loc1 ) . append ( arg1 ) ; } return loc0 . length ( ) > 0 ? loc0 . substring ( 0 , loc0 . length ( ) - 1 ) : "srini_string" ; }