@@ -901,7 +901,7 @@ Depending on your logging system, the following files will be loaded:
901901|Logging System |Customization
902902
903903|Logback
904- |`logback.xml`
904+ |`logback.xml` or `logback.groovy`
905905
906906|Log4j
907907|`log4j.properties` or `log4j.xml`
@@ -936,7 +936,7 @@ To help with the customization some other properties are transferred from the Sp
936936All the logging systems supported can consult System properties when parsing their
937937configuration files. See the default configurations in `spring-boot.jar` for examples.
938938
939- WARNING: There are know classloading issues with Java Util Logging that cause problems
939+ WARNING: There are known classloading issues with Java Util Logging that cause problems
940940when running from an '`executable jar`'. We recommend that you avoid it if at all
941941possible.
942942
@@ -1004,7 +1004,7 @@ The auto-configuration adds the following features on top of Spring's defaults:
10041004* Support for serving static resources, including support for WebJars (see below).
10051005* Automatic registration of `Converter`, `GenericConverter`, `Formatter` beans.
10061006* Support for `HttpMessageConverters` (see below).
1007- * Automatic registration of `MessageCodeResolver ` (see below)
1007+ * Automatic registration of `MessageCodesResolver ` (see below).
10081008* Static `index.html` support.
10091009* Custom `Favicon` support.
10101010
@@ -1358,7 +1358,7 @@ If the above customization techniques are too limited, you can register the
13581358 TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
13591359 factory.setPort(9000);
13601360 factory.setSessionTimeout(10, TimeUnit.MINUTES);
1361- factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html");
1361+ factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html")) ;
13621362 return factory;
13631363 }
13641364----
@@ -1516,9 +1516,9 @@ Production database connections can also be auto-configured using a pooling
15161516
15171517* We prefer the Tomcat pooling `DataSource` for its performance and concurrency, so if
15181518 that is available we always choose it.
1519- * If HikariCP is available we will use it
1519+ * If HikariCP is available we will use it.
15201520* If Commons DBCP is available we will use it, but we don't recommend it in production.
1521- * Lastly, if Commons DBCP2 is available we will use it
1521+ * Lastly, if Commons DBCP2 is available we will use it.
15221522
15231523If you use the `spring-boot-starter-jdbc` or `spring-boot-starter-data-jpa`
15241524'`starter POMs`' you will automatically get a dependency to `tomcat-jdbc`.
@@ -1607,7 +1607,7 @@ relational databases. The `spring-boot-starter-data-jpa` POM provides a quick wa
16071607started. It provides the following key dependencies:
16081608
16091609* Hibernate -- One of the most popular JPA implementations.
1610- * Spring Data JPA -- Makes it easy to easily implement JPA-based repositories.
1610+ * Spring Data JPA -- Makes it easy to implement JPA-based repositories.
16111611* Spring ORMs -- Core ORM support from the Spring Framework.
16121612
16131613TIP: We won't go into too many details of JPA or Spring Data here. You can follow the
@@ -1812,7 +1812,7 @@ pooled connection factory by default.
18121812=== MongoDB
18131813http://www.mongodb.com/[MongoDB] is an open-source NoSQL document database that uses a
18141814JSON-like schema instead of traditional table-based relational data. Spring Boot offers
1815- several conveniences for working with MongoDB, including the The
1815+ several conveniences for working with MongoDB, including the
18161816`spring-boot-starter-data-mongodb` '`Starter POM`'.
18171817
18181818
@@ -1826,7 +1826,7 @@ using the URL `mongodb://localhost/test`:
18261826[source,java,indent=0]
18271827----
18281828 import org.springframework.data.mongodb.MongoDbFactory;
1829- import import com.mongodb.DB;
1829+ import com.mongodb.DB;
18301830
18311831 @Component
18321832 public class MyBean {
@@ -1864,7 +1864,7 @@ could simply delete this line from the sample above.
18641864TIP: If you aren't using Spring Data Mongo you can inject `com.mongodb.Mongo` beans
18651865instead of using `MongoDbFactory`.
18661866
1867- You can also declare your own `MongoDbFactory` or `Mongo` `@Beans` if you want to take
1867+ You can also declare your own `MongoDbFactory` or `Mongo` bean if you want to take
18681868complete control of establishing the MongoDB connection.
18691869
18701870
@@ -2084,7 +2084,7 @@ available on the classpath. If the broker is present, an embedded broker is star
20842084configured automatically (unless the mode property has been explicitly set). The supported
20852085modes are: `embedded` (to make explicit that an embedded broker is required and should
20862086lead to an error if the broker is not available in the classpath), and `native` to
2087- connect to a broker using the the `netty` transport protocol. When the latter is
2087+ connect to a broker using the `netty` transport protocol. When the latter is
20882088configured, Spring Boot configures a `ConnectionFactory` connecting to a broker running
20892089on the local machine with the default settings.
20902090
0 commit comments