VIVO-82 Remove the vestiges of VitroRequestPrep

Unused imports prevented the compiling of JSPs
This commit is contained in:
j2blake 2013-06-07 15:43:22 -04:00
parent b86a34b611
commit 69ab12c4bc
3 changed files with 1 additions and 5 deletions

View file

@ -57,8 +57,6 @@ public class RequestModelsPrep implements Filter {
* The filter will be applied to all incoming urls, this is a list of URI
* patterns to skip. These are matched against the requestURI sans query
* parameters, e.g. "/vitro/index.jsp" "/vitro/themes/enhanced/css/edit.css"
*
* These patterns are from VitroRequestPrep.java
*/
private final static Pattern[] skipPatterns = {
Pattern.compile(".*\\.(gif|GIF|jpg|jpeg)$"),
@ -109,7 +107,7 @@ public class RequestModelsPrep implements Filter {
for (Pattern skipPattern : skipPatterns) {
if (skipPattern.matcher(requestURI).matches()) {
log.debug("request matched skipPattern '" + skipPattern
+ "', skipping VitroRequestPrep");
+ "', skipping RequestModelsPrep");
return false;
}
}

View file

@ -1,6 +1,5 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

View file

@ -6,7 +6,6 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page errorPage="/error.jsp"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
<% /***********************************************