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:
parent
db9b110a7e
commit
aa5d2162e5
|
@ -283,7 +283,7 @@ public class StrSubstitutorTest extends TestCase {
|
|||
*/
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue