commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r890413 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
Date Mon, 14 Dec 2009 17:54:27 GMT
Author: sebb
Date: Mon Dec 14 17:54:26 2009
New Revision: 890413

URL: http://svn.apache.org/viewvc?rev=890413&view=rev
Log:
Fix generic map type

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java?rev=890413&r1=890412&r2=890413&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
(original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
Mon Dec 14 17:54:26 2009
@@ -283,7 +283,7 @@
      */
     public void testResolveVariable() {
         final StrBuilder builder = new StrBuilder("Hi ${name}!");
-        Map<String, Object> map = new HashMap<String, Object>();
+        Map<String, String> map = new HashMap<String, String>();
         map.put("name", "commons");
         StrSubstitutor sub = new StrSubstitutor(map) {
             @Override



Mime
View raw message