Do not use - does not take account of imports required for Javadocs
<module name="UnusedImports"/>
-->
+
+ <!-- Whitespace -->
+ <!-- Can't handle HashMap<String,Class<?>[]>
+ https://sourceforge.net/tracker/?func=detail&aid=3039718&group_id=29721&atid=397078
+ <module name="GenericWhitespace"/>
+ -->
</module>
</module>
\ No newline at end of file
* in web.xml, a web-fragment or annotated with {@link WebListener}.
*/
public ServletRegistration.Dynamic addServlet(String servletName,
- Class <? extends Servlet> servletClass)
+ Class<? extends Servlet> servletClass)
throws IllegalStateException {
return addServlet(servletName, servletClass.getName(), null);
@Override
public Map<String, ? extends ServletRegistration> getServletRegistrations() {
- Map<String, ApplicationServletRegistration > result =
+ Map<String, ApplicationServletRegistration> result =
new HashMap<String, ApplicationServletRegistration>();
Container[] wrappers = context.findChildren();
public ServletRegistration.Dynamic addServlet(String servletName,
- Class <? extends Servlet> servletClass) {
+ Class<? extends Servlet> servletClass) {
if (SecurityUtil.isPackageProtectionEnabled()) {
return (ServletRegistration.Dynamic) doPrivileged(
"addServlet", new Object[]{servletName, servletClass.getName()});
// ------------------------------------------------------------- Security classes
- private class PrivilegedSetRandomFile implements PrivilegedAction<DataInputStream>{
+ private class PrivilegedSetRandomFile implements PrivilegedAction<DataInputStream> {
public PrivilegedSetRandomFile(String s) {
devRandomSource = s;