Revision: 514
http://svn.sourceforge.net/stripes/?rev=514&view=rev
Author: bengunter
Date: 2007-04-02 07:36:32 -0700 (Mon, 02 Apr 2007)
Log Message:
-----------
merged fix for STS-329 from trunk
Modified Paths:
--------------
branches/1.4.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java
Modified:
branches/1.4.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java
===================================================================
---
branches/1.4.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java
2007-04-02 14:34:06 UTC (rev 513)
+++
branches/1.4.x/stripes/src/net/sourceforge/stripes/action/OnwardResolution.java
2007-04-02 14:36:32 UTC (rev 514)
@@ -34,8 +34,8 @@
* @author Tim Fennell
*/
public abstract class OnwardResolution<T extends OnwardResolution<T>> {
- protected String path;
- Map<String,Object> parameters = new HashMap<String,Object>();
+ private String path;
+ private Map<String,Object> parameters = new HashMap<String,Object>();
/**
* Default constructor that takes the supplied path and stores it for use.
@@ -133,6 +133,18 @@
}
/**
+ * <p>Provides access to the Map of parameters that has been accumulated
so far
+ * for this resolution. The reference returned is to the internal
parameters
+ * map! As such any changed made to the Map will be reflected in the
Resolution,
+ * and any subsequent calls to addParameter(s) will be reflected in the
Map.</p>
+ *
+ * @return the Map of parameters for the resolution
+ */
+ public Map<String, Object> getParameters() {
+ return parameters;
+ }
+
+ /**
* Constructs the URL for the resolution by taking the path and appending
any parameters
* supplied.
*/
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development