Skip to content

Commit

Permalink
Merge pull request mybatis#813 from be-hase/open-CoreConfiguration-ap…
Browse files Browse the repository at this point in the history
…plyTo

Open `CoreConfiguration#applyTo`
  • Loading branch information
hazendaz authored Apr 24, 2023
2 parents ad152f0 + 2ce7496 commit 93d14ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public void setDefaultEnumTypeHandler(Class<? extends TypeHandler> defaultEnumTy
this.defaultEnumTypeHandler = defaultEnumTypeHandler;
}

void applyTo(Configuration target) {
public void applyTo(Configuration target) {
PropertyMapper mapper = PropertyMapper.get().alwaysApplyingWhenNonNull();
mapper.from(getSafeRowBoundsEnabled()).to(target::setSafeRowBoundsEnabled);
mapper.from(getSafeResultHandlerEnabled()).to(target::setSafeResultHandlerEnabled);
Expand Down

0 comments on commit 93d14ea

Please sign in to comment.