velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r483666 - /velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java
Date Thu, 07 Dec 2006 21:05:00 GMT
Author: nbubna
Date: Thu Dec  7 13:04:59 2006
New Revision: 483666

URL: http://svn.apache.org/viewvc?view=rev&rev=483666
Log:
add public getAll() alias for protected getSource()

Modified:
    velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java

Modified: velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java?view=diff&rev=483666&r1=483665&r2=483666
==============================================================================
--- velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java
(original)
+++ velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ParameterParser.java
Thu Dec  7 13:04:59 2006
@@ -165,4 +165,12 @@
         return getRequest().getParameterMap();
     }
 
+    /**
+     * Returns the map of all parameters available for the current request.
+     */
+    public Map getAll()
+    {
+        return getSource();
+    }
+
 }



Mime
View raw message