webwork/src/main/webwork/dispatcher GenericDispatcher.java,1.19,1.20
[email protected] Sat, 09 Jul 2005 12:21:58 -0700
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/main/webwork/dispatcher
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18011/src/main/webwork/dispatcher
Modified Files:
GenericDispatcher.java
Log Message:
Undo fairly dodgy fix, sorry
Index: GenericDispatcher.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/dispatcher/GenericDispatcher.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- GenericDispatcher.java 9 Jul 2005 19:03:34 -0000 1.19
+++ GenericDispatcher.java 9 Jul 2005 19:21:56 -0000 1.20
@@ -217,17 +217,10 @@
}
// Create a new context
- if(oldContextTable != null)
- {
- ActionContext newContext = new ActionContext();
- // Set old values in it
- newContext.setTable(oldContextTable);
- ActionContext.setContext(newContext);
- }
- else
- {
- ActionContext.setContext(null);
- }
+ ActionContext newContext = new ActionContext();
+ // Set old values in it
+ newContext.setTable(oldContextTable);
+ ActionContext.setContext(newContext);
}
public class LazyValueHolder implements ValueStack.ValueHolder
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar