public static String doubleEncodeBrackets ( final String input ) { if ( input == null || input . length ( ) == 0 ) { // For performance reasons don't use Util.empty return input ; } return DOUBLE_ENCODE_BRACKETS . translate ( input ) ; }
Double encode open or closed brackets in the input String .