jmitchell 2004/04/28 20:08:45
Modified: contrib/struts-chain/src/java/org/apache/struts/chain
AbstractSelectForward.java
AbstractPopulateActionForm.java
AbstractSetContentType.java
AbstractRequestNoCache.java
AbstractPerformInclude.java SelectInclude.java
AbstractValidateActionForm.java
AbstractAuthorizeAction.java
AbstractPerformForward.java
Log:
Clean up unsed imports and a few javadoc remarks
Revision Changes Path
1.4 +3 -6
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractSelectForward.java
Index: AbstractSelectForward.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractSelectForward.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AbstractSelectForward.java 8 Mar 2004 02:50:53 -0000 1.3
+++ AbstractSelectForward.java 29 Apr 2004 03:08:44 -0000 1.4
@@ -19,14 +19,11 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.struts.chain.Constants;
-import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionForm;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.struts.config.ActionConfig;
import org.apache.struts.config.ForwardConfig;
import org.apache.struts.config.ModuleConfig;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
/**
1.5 +1 -3
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPopulateActionForm.java
Index: AbstractPopulateActionForm.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPopulateActionForm.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AbstractPopulateActionForm.java 8 Mar 2004 02:50:53 -0000 1.4
+++ AbstractPopulateActionForm.java 29 Apr 2004 03:08:44 -0000 1.5
@@ -26,8 +26,6 @@
import org.apache.commons.chain.web.WebContext;
import org.apache.struts.Globals;
import org.apache.struts.action.ActionForm;
-import org.apache.struts.action.ActionMapping;
-import org.apache.struts.chain.Constants;
import org.apache.struts.config.ActionConfig;
1.3 +1 -3
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractSetContentType.java
Index: AbstractSetContentType.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractSetContentType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractSetContentType.java 8 Mar 2004 02:50:53 -0000 1.2
+++ AbstractSetContentType.java 29 Apr 2004 03:08:44 -0000 1.3
@@ -20,8 +20,6 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
import org.apache.commons.chain.web.WebContext;
-import org.apache.struts.Globals;
-import org.apache.struts.chain.Constants;
import org.apache.struts.config.ModuleConfig;
1.3 +1 -3
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractRequestNoCache.java
Index: AbstractRequestNoCache.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractRequestNoCache.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractRequestNoCache.java 8 Mar 2004 02:50:53 -0000 1.2
+++ AbstractRequestNoCache.java 29 Apr 2004 03:08:44 -0000 1.3
@@ -20,8 +20,6 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
import org.apache.commons.chain.web.WebContext;
-import org.apache.struts.Globals;
-import org.apache.struts.chain.Constants;
import org.apache.struts.config.ModuleConfig;
1.4 +1 -2
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPerformInclude.java
Index: AbstractPerformInclude.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPerformInclude.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AbstractPerformInclude.java 8 Mar 2004 02:50:53 -0000 1.3
+++ AbstractPerformInclude.java 29 Apr 2004 03:08:44 -0000 1.4
@@ -19,7 +19,6 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.struts.Globals;
import org.apache.commons.chain.web.WebContext;
import org.apache.struts.config.ModuleConfig;
1.3 +2 -6
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/SelectInclude.java
Index: SelectInclude.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/SelectInclude.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SelectInclude.java 8 Mar 2004 02:50:53 -0000 1.2
+++ SelectInclude.java 29 Apr 2004 03:08:44 -0000 1.3
@@ -19,13 +19,9 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.struts.chain.Constants;
-import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionForm;
-import org.apache.struts.config.ActionConfig;
-import org.apache.struts.config.ModuleConfig;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.apache.struts.config.ActionConfig;
/**
1.6 +1 -7
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractValidateActionForm.java
Index: AbstractValidateActionForm.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractValidateActionForm.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AbstractValidateActionForm.java 8 Mar 2004 02:50:53 -0000 1.5
+++ AbstractValidateActionForm.java 29 Apr 2004 03:08:44 -0000 1.6
@@ -17,18 +17,12 @@
package org.apache.struts.chain;
-import org.apache.commons.chain.Catalog;
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.commons.chain.impl.ChainBase;
-import org.apache.commons.chain.web.WebContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.struts.Globals;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
-import org.apache.struts.action.ActionMapping;
-import org.apache.struts.chain.Constants;
import org.apache.struts.config.ActionConfig;
1.4 +4 -13
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractAuthorizeAction.java
Index: AbstractAuthorizeAction.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractAuthorizeAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AbstractAuthorizeAction.java 8 Mar 2004 02:50:53 -0000 1.3
+++ AbstractAuthorizeAction.java 29 Apr 2004 03:08:44 -0000 1.4
@@ -17,22 +17,13 @@
package org.apache.struts.chain;
-import org.apache.commons.beanutils.DynaBean;
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.commons.chain.web.WebContext;
-import org.apache.struts.action.ActionForm;
-import org.apache.struts.action.ActionMapping;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.struts.action.ActionServlet;
-import org.apache.struts.action.DynaActionForm;
-import org.apache.struts.action.DynaActionFormClass;
-import org.apache.struts.chain.Constants;
-import org.apache.struts.chain.util.ClassUtils;
import org.apache.struts.config.ActionConfig;
-import org.apache.struts.config.FormBeanConfig;
import org.apache.struts.util.MessageResources;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
/**
@@ -175,7 +166,7 @@
*
* @return <code>true</code> if the request is authorized, else
* <code>false</code>
- * @exception If the action cannot be tested for authorization
+ * @exception Exception If the action cannot be tested for authorization
*/
protected abstract boolean isAuthorized(Context context, String[] roles,
ActionConfig actionConfig)
1.6 +1 -3
jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPerformForward.java
Index: AbstractPerformForward.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/contrib/struts-chain/src/java/org/apache/struts/chain/AbstractPerformForward.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AbstractPerformForward.java 28 Apr 2004 23:37:43 -0000 1.5
+++ AbstractPerformForward.java 29 Apr 2004 03:08:44 -0000 1.6
@@ -19,8 +19,6 @@
import org.apache.commons.chain.Command;
import org.apache.commons.chain.Context;
-import org.apache.struts.Globals;
-import org.apache.struts.chain.Constants;
import org.apache.struts.config.ForwardConfig;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]