You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2009/05/23 15:31:13 UTC
svn commit: r777919 - in /incubator/jspwiki/trunk/src:
WebContent/Attachments.jsp java/org/apache/wiki/ui/WikiServletFilter.java
Author: ajaquith
Date: Sat May 23 13:31:13 2009
New Revision: 777919
URL: http://svn.apache.org/viewvc?rev=777919&view=rev
Log:
Dead code removal.
Modified:
incubator/jspwiki/trunk/src/WebContent/Attachments.jsp
incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/WikiServletFilter.java
Modified: incubator/jspwiki/trunk/src/WebContent/Attachments.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/Attachments.jsp?rev=777919&r1=777918&r2=777919&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/Attachments.jsp (original)
+++ incubator/jspwiki/trunk/src/WebContent/Attachments.jsp Sat May 23 13:31:13 2009
@@ -1,10 +1,6 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://jakarta.apache.org/jspwiki.tld" prefix="wiki" %>
<%@ taglib uri="http://stripes.sourceforge.net/stripes.tld" prefix="s" %>
-<%@ page import="org.apache.wiki.*" %>
-<%@ page import="org.apache.wiki.action.WikiContextFactory" %>
-<%@ page import="org.apache.wiki.attachment.*" %>
-<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
<s:useActionBean beanclass="org.apache.wiki.action.ViewActionBean" event="attachments" executeResolution="true" id="wikiActionBean" />
<s:layout-render name="/templates/default/DefaultLayout.jsp">
Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/WikiServletFilter.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/WikiServletFilter.java?rev=777919&r1=777918&r2=777919&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/WikiServletFilter.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/WikiServletFilter.java Sat May 23 13:31:13 2009
@@ -209,22 +209,6 @@
}
- /**
- * Figures out the wiki context from the request. This method does not create the
- * context if it does not exist.
- *
- * @param request The request to examine
- * @return A valid WikiContext value (or null, if the context could not be located).
- */
- protected WikiContext getWikiContext( ServletRequest request )
- {
- HttpServletRequest httpRequest = (HttpServletRequest) request;
-
- WikiContext ctx = (WikiContext) httpRequest.getAttribute( WikiTagBase.ATTR_CONTEXT );
-
- return ctx;
- }
-
/**
* Determines whether the request has been previously wrapped with a WikiRequestWrapper.
* We find the wrapper by recursively unwrapping successive request wrappers, if they have been supplied.