public static String [ ] normalizePatterns ( final String [ ] urlPatterns ) { String [ ] normalized = null ; if ( urlPatterns != null ) { normalized = new String [ urlPatterns . length ] ; for ( int i = 0 ; i < urlPatterns . length ; i ++ ) { normalized [ i ] = normalizePattern ( urlPatterns [ i ] ) ; } } return normalized ; }
Normalize an array of patterns .