Skip to content

Commit

Permalink
Update DynamicContext.java
Browse files Browse the repository at this point in the history
63行有个小错误
  • Loading branch information
breeze924 committed May 1, 2017
1 parent 12fa3d9 commit 951656b
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 951656b

Please sign in to comment.