String[] results = new String[urlPatterns.length + 1]; System.arraycopy(urlPatterns, 0, results, 0, urlPatterns.length); results[urlPatterns.length] = pattern; urlPatterns = results;
return servletName;
return urlPatterns;
servletName = name;