You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/09/04 16:36:32 UTC
svn commit: r1165032 -
/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
Author: simonetripodi
Date: Sun Sep 4 14:36:31 2011
New Revision: 1165032
URL: http://svn.apache.org/viewvc?rev=1165032&view=rev
Log:
Servlets will use ServletWebContext in Chains
Modified:
commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java?rev=1165032&r1=1165031&r2=1165032&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java (original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ChainProcessor.java Sun Sep 4 14:36:31 2011
@@ -188,7 +188,7 @@ public class ChainProcessor extends Chai
if (attribute == null) {
request.setAttribute(CATALOG_DEFAULT, theCatalog);
}
- Command command = theCatalog.getCommand(this.command);
+ Command<ServletWebContext> command = theCatalog.getCommand(this.command);
try {
command.execute(context);
} catch (Exception e) {