You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/08/02 15:22:11 UTC

svn commit: r800067 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java

Author: sebb
Date: Sun Aug  2 13:22:11 2009
New Revision: 800067

URL: http://svn.apache.org/viewvc?rev=800067&view=rev
Log:
Type safety

Modified:
    commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java?rev=800067&r1=800066&r2=800067&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java (original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/junit/Asserter.java Sun Aug  2 13:22:11 2009
@@ -39,7 +39,7 @@
 public class Asserter extends Assert {
 
     /** variables used during asserts. */
-    private final Map variables = new HashMap();
+    private final Map<String, Object> variables = new HashMap<String, Object>();
     /** context to use during asserts. */
     private final JexlContext context = JexlHelper.createContext();