click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bck...@apache.org
Subject svn commit: r956521 - /click/trunk/click/framework/src/org/apache/click/Partial.java
Date Mon, 21 Jun 2010 09:50:21 GMT
Author: bckfnn
Date: Mon Jun 21 09:50:21 2010
New Revision: 956521

URL: http://svn.apache.org/viewvc?rev=956521&view=rev
Log:
generics. CLK-696

Modified:
    click/trunk/click/framework/src/org/apache/click/Partial.java

Modified: click/trunk/click/framework/src/org/apache/click/Partial.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/Partial.java?rev=956521&r1=956520&r2=956521&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/Partial.java (original)
+++ click/trunk/click/framework/src/org/apache/click/Partial.java Mon Jun 21 09:50:21 2010
@@ -321,9 +321,9 @@ public class Partial {
      *
      * @return the data model for the Partial template
      */
-    public Map getModel() {
+    public Map<String, Object> getModel() {
         if (model == null) {
-            model = new HashMap();
+            model = new HashMap<String, Object>();
         }
         return model;
     }



Mime
View raw message