--- src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java 2014-09-22 10:28:56.000000000 +0200 +++ src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java-gil 2015-01-12 22:13:09.147731487 +0100 @@ -20,7 +20,7 @@ import org.apache.xml.security.stax.ext.XMLSecurityUtils; import org.eclipse.jetty.http.MimeTypes; -import org.eclipse.jetty.io.Buffer; +//import org.eclipse.jetty.io.Buffer; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; @@ -104,7 +104,7 @@ for (int i = 0; i < paths.size(); i++) { String s = paths.get(i); InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(s + "/" + file); - if (inputStream != null) { + /*if (inputStream != null) { Buffer mime = mimeTypes.getMimeByExtension(req.getPathInfo()); if (mime != null) { @@ -113,7 +113,7 @@ XMLSecurityUtils.copy(inputStream, resp.getOutputStream()); inputStream.close(); return; - } + }*/ } resp.sendError(HttpServletResponse.SC_NOT_FOUND); }