Fix generic map type

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@890413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2009-12-14 17:54:26 +00:00
parent db9b110a7e
commit aa5d2162e5
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class StrSubstitutorTest extends TestCase {
*/ */
public void testResolveVariable() { public void testResolveVariable() {
final StrBuilder builder = new StrBuilder("Hi ${name}!"); 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"); map.put("name", "commons");
StrSubstitutor sub = new StrSubstitutor(map) { StrSubstitutor sub = new StrSubstitutor(map) {
@Override @Override