public static String rightTrim(final String value){
  validate(value,NULL_STRING_PREDICATE,NULL_STRING_MSG_SUPPLIER);
  return value.replaceAll("\\s+$","");
}

public static String rightTrim ( final String value ) { validate ( value , NULL_STRING_PREDICATE , NULL_STRING_MSG_SUPPLIER ) ; return value . replaceAll ( "\\s+$" , "" ) ; }
remove all spaces on right .
