@@ -1081,7 +1081,7 @@ There is a {github-code}/spring-boot-samples/spring-boot-sample-jersey[Jersey sa
1081
1081
you can see how to set things up. There is also a {github-code}/spring-boot-samples/spring-boot-sample-jersey1[Jersey 1.x sample].
1082
1082
Note that in the Jersey 1.x sample that the spring-boot maven plugin has been configured to
1083
1083
unpack some Jersey jars so they can be scanned by the JAX-RS implementation (the sample
1084
- asks for them to be scanned in its `Filter` registration.
1084
+ asks for them to be scanned in its `Filter` registration) .
1085
1085
1086
1086
1087
1087
@@ -1100,7 +1100,7 @@ Spring beans. This can be particularly convenient if you want to refer to a valu
1100
1100
your `application.properties` during configuration.
1101
1101
1102
1102
By default, if the context contains only a single Servlet it will be mapped to `/`. In
1103
- the case of multiple Servlets beans the bean name will be used as a path prefix. Filters
1103
+ the case of multiple Servlet beans the bean name will be used as a path prefix. Filters
1104
1104
will map to `+/*+`.
1105
1105
1106
1106
If convention-based mapping is not flexible enough you can use the
@@ -1328,7 +1328,7 @@ auto-configured. In this example it's pulled in transitively via
1328
1328
[[boot-features-connect-to-production-database]]
1329
1329
==== Connection to a production database
1330
1330
Production database connections can also be auto-configured using a pooling
1331
- `DataSource`. Here's the algorithm for choosing a specific implementation.
1331
+ `DataSource`. Here's the algorithm for choosing a specific implementation:
1332
1332
1333
1333
* We prefer the Tomcat pooling `DataSource` for its performance and concurrency, so if
1334
1334
that is available we always choose it.
@@ -1370,7 +1370,7 @@ loadable.
1370
1370
[[boot-features-connecting-to-a-jndi-datasource]]
1371
1371
==== Connection to a JNDI DataSource
1372
1372
If you are deploying your Spring Boot application to an Application Server you might want
1373
- to configure and manage your DataSource using you Application Servers built in features
1373
+ to configure and manage your DataSource using your Application Servers built- in features
1374
1374
and access it using JNDI.
1375
1375
1376
1376
The `spring.datasource.jndi-name` property can be used as an alternative to the
@@ -1532,7 +1532,7 @@ their http://projects.spring.io/spring-data-jpa/[reference documentation].
1532
1532
1533
1533
[[boot-features-creating-and-dropping-jpa-databases]]
1534
1534
==== Creating and dropping JPA databases
1535
- By default JPA database will be automatically created *only* if you use an embedded
1535
+ By default, JPA databases will be automatically created *only* if you use an embedded
1536
1536
database (H2, HSQL or Derby). You can explicitly configure JPA settings using
1537
1537
`+spring.jpa.*+` properties. For example, to create and drop tables you can add the
1538
1538
following to your `application.properties`.
@@ -1557,7 +1557,7 @@ passes `hibernate.globally_quoted_identifiers` to the Hibernate entity manager.
1557
1557
By default the DDL execution (or validation) is deferred until
1558
1558
the `ApplicationContext` has started. There is also a `spring.jpa.generate-ddl` flag, but
1559
1559
it is not used if Hibernate autoconfig is active because the `ddl-auto`
1560
- settings are more fine grained.
1560
+ settings are more fine- grained.
1561
1561
1562
1562
1563
1563
@@ -1892,7 +1892,7 @@ connect to a broker using the the `netty` transport protocol. When the latter is
1892
1892
configured, Spring Boot configures a `ConnectionFactory` connecting to a broker running
1893
1893
on the local machine with the default settings.
1894
1894
1895
- NOTE: if you are using `spring-boot-starter-hornetq` the necessary dependencies to
1895
+ NOTE: If you are using `spring-boot-starter-hornetq` the necessary dependencies to
1896
1896
connect to an existing HornetQ instance are provided, as well as the Spring infrastructure
1897
1897
to integrate with JMS. Adding `org.hornetq:hornetq-jms-server` to your application allows
1898
1898
you to use the embedded mode.
@@ -1909,7 +1909,7 @@ HornetQ configuration is controlled by external configuration properties in
1909
1909
----
1910
1910
1911
1911
When embedding the broker, you can chose if you want to enable persistence, and the list
1912
- of destinations that should be made available. These can be specified as a comma separated
1912
+ of destinations that should be made available. These can be specified as a comma- separated
1913
1913
list to create them with the default options; or you can define bean(s) of type
1914
1914
`org.hornetq.jms.server.config.JMSQueueConfiguration` or
1915
1915
`org.hornetq.jms.server.config.TopicConfiguration`, for advanced queue and topic
@@ -2167,7 +2167,7 @@ If you use the
2167
2167
the following provided libraries:
2168
2168
2169
2169
* Spring Test -- integration test support for Spring applications.
2170
- * Junit -- The de-facto standard for unit testing Java applications.
2170
+ * JUnit -- The de-facto standard for unit testing Java applications.
2171
2171
* Hamcrest -- A library of matcher objects (also known as constraints or predicates)
2172
2172
allowing `assertThat` style JUnit assertions.
2173
2173
* Mockito -- A Java mocking framework.
@@ -2235,7 +2235,7 @@ it with HTTP (e.g. using `RestTemplate`), annotate your test class (or one of it
2235
2235
superclasses) with `@IntegrationTest`. This can be very useful because it means you can
2236
2236
test the full stack of your application, but also inject its components into the test
2237
2237
class and use them to assert the internal state of the application after an HTTP
2238
- interaction. For Example :
2238
+ interaction. For example :
2239
2239
2240
2240
[source,java,indent=0,subs="verbatim,quotes,attributes"]
2241
2241
----
@@ -2440,7 +2440,7 @@ You can use the
2440
2440
{sc-spring-boot-autoconfigure}/AutoConfigureAfter.{sc-ext}[`@AutoConfigureAfter`] or
2441
2441
{sc-spring-boot-autoconfigure}/AutoConfigureBefore.{sc-ext}[`@AutoConfigureBefore`]
2442
2442
annotations if your configuration needs to be applied in a specific order. For example,
2443
- if you provide web specific configuration, your class may need to be applied after
2443
+ if you provide web- specific configuration, your class may need to be applied after
2444
2444
`WebMvcAutoConfiguration`.
2445
2445
2446
2446
@@ -2461,7 +2461,7 @@ code by annotating `@Configuration` classes or individual `@Bean` methods.
2461
2461
==== Class conditions
2462
2462
The `@ConditionalOnClass` and `@ConditionalOnMissingClass` annotations allows configuration
2463
2463
to be skipped based on the presence or absence of specific classes. Due to the fact that
2464
- annotation meta-data is parsed using http://asm.ow2.org/[ASM] you can actually use the
2464
+ annotation metadata is parsed using http://asm.ow2.org/[ASM] you can actually use the
2465
2465
`value` attribute to refer to the real class, even though that class might not actually
2466
2466
appear on the running application classpath. You can also use the `name` attribute if you
2467
2467
prefer to specify the class name using a `String` value.
0 commit comments