mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-07 18:48:39 +00:00
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 void testReplacePartialString_noReplace() {
|
||||
*/
|
||||
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…
x
Reference in New Issue
Block a user