Skip to content

Commit

Permalink
Merge pull request #3 from breeze924/patch-2
Browse files Browse the repository at this point in the history
Update DynamicContext.java
  • Loading branch information
tuguangquan committed May 2, 2017
2 parents 12fa3d9 + 951656b commit 21dbf87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class DynamicContext {
public DynamicContext(Configuration configuration, Object parameterObject) {
//绝大多数调用的地方parameterObject为null
if (parameterObject != null && !(parameterObject instanceof Map)) {
//如果是map型
//如果是map型 ?? 这句是 如果不是map型
MetaObject metaObject = configuration.newMetaObject(parameterObject);
bindings = new ContextMap(metaObject);
} else {
Expand Down Expand Up @@ -157,4 +157,4 @@ public String getSourceSetter(OgnlContext arg0, Object arg1, Object arg2) {
return null;
}
}
}
}

0 comments on commit 21dbf87

Please sign in to comment.