Skip to content

Commit

Permalink
Update ObjectDef.java
Browse files Browse the repository at this point in the history
update:let constructorArgs support map type.
  • Loading branch information
lispking committed Sep 14, 2015
1 parent 0a5426e commit a019d50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public void setConstructorArgs(List<Object> constructorArgs) {
if(map.containsKey("ref") && map.size() == 1){
newVal.add(new BeanReference((String)map.get("ref")));
this.hasReferences = true;
} else {
newVal.add(obj);
}
} else {
newVal.add(obj);
Expand Down

0 comments on commit a019d50

Please sign in to comment.