Skip to content

Commit 385155b

Browse files
authored
Merge pull request #1539 from Tetsuya3850/patch-1
Fix trivial grammer mistake
2 parents 7d17913 + 3af84f8 commit 385155b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/site/xdoc/java-api.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ SqlSessionFactory build(Configuration config)</source>
8888
...
8989
</environment>
9090
</environments>]]></source>
91-
<p>If you call a build method that takes the environment parameter, then MyBatis will use the configuration for that environment. Of course, if you specify an invalid environment, you will receive an error. If you call one of the build methods that does not take the environment parameter, then the default environment is uses (which is specified as default="development" in the example above).</p>
91+
<p>If you call a build method that takes the environment parameter, then MyBatis will use the configuration for that environment. Of course, if you specify an invalid environment, you will receive an error. If you call one of the build methods that does not take the environment parameter, then the default environment is used (which is specified as default="development" in the example above).</p>
9292
<p>If you call a method that takes a properties instance, then MyBatis will load those properties and make them available to your configuration. Those properties can be used in place of most values in the configuration using the syntax: ${propName}</p>
9393
<p>Recall that properties can also be referenced from the mybatis-config.xml file, or specified directly within it. Therefore it's important to understand the priority. We mentioned it earlier in this document, but here it is again for easy reference:</p>
9494

0 commit comments

Comments
 (0)