- // Cast to servlet because of a weird behaviour in Eclipse
- // httpService.registerFilter(path, anonymous ? new AnonymousFilter()
- // : new DavFilter(), null, null);
- httpService.registerServlet(path, (Servlet) remotingServlet, ip,
- new DataHttpContext(anonymous));
+ httpService.registerServlet(path, remotingServlet, ip, new DataHttpContext(anonymous));