Skip to content

Commit 0bf359f

Browse files
izeyesnicoll
authored andcommitted
Polish
See gh-19409
1 parent 9da62e2 commit 0bf359f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ For example, using a `Dockerfile` you could express it in this form:
5454
ENTRYPOINT ["java","-cp","app:app/lib/*","com.example.MyApplication"]
5555
----
5656

57-
Assuming the above `Dockerfile` is the current directory, your docker image can be built with `docker build .`, or optionally specifying the path to your application jar, as shown in the following example:
57+
Assuming the above `Dockerfile` is in the current directory, your docker image can be built with `docker build .`, or optionally specifying the path to your application jar, as shown in the following example:
5858

5959
[indent=0]
6060
----
@@ -455,7 +455,7 @@ This makes it very easy to install and manage Spring Boot applications in common
455455
CAUTION: Fully executable jars work by embedding an extra script at the front of the file.
456456
Currently, some tools do not accept this format, so you may not always be able to use this technique.
457457
For example, `jar -xf` may silently fail to extract a jar or war that has been made fully executable.
458-
It is recommended that you make your jar or war fully executable only if you intend to execute it directly, rather than running it with `java -jar`or deploying it to a servlet container.
458+
It is recommended that you make your jar or war fully executable only if you intend to execute it directly, rather than running it with `java -jar` or deploying it to a servlet container.
459459

460460
CAUTION: A zip64-format jar file cannot be made fully executable.
461461
Attempting to do so will result in a jar file that is reported as corrupt when executed directly or with `java -jar`.

spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ Spring Data can create implementations of `@Repository` interfaces of various fl
16361636
Spring Boot handles all of that for you, as long as those `@Repositories` are included in the same package (or a sub-package) of your `@EnableAutoConfiguration` class.
16371637

16381638
For many applications, all you need is to put the right Spring Data dependencies on your classpath.
1639-
There is a `spring-boot-starter-data-jpa` for JPA, spring-boot-starter-data-mongodb` for Mongodb, etc.
1639+
There is a `spring-boot-starter-data-jpa` for JPA, `spring-boot-starter-data-mongodb` for Mongodb, etc.
16401640
To get started, create some repository interfaces to handle your `@Entity` objects.
16411641

16421642
Spring Boot tries to guess the location of your `@Repository` definitions, based on the `@EnableAutoConfiguration` it finds.

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,7 +2626,7 @@ For browser clients, there is a "`whitelabel`" error handler that renders the sa
26262626
You can also provide your own HTML templates to display errors (see the <<boot-features-webflux-error-handling-custom-error-pages,next section>>).
26272627

26282628
The first step to customizing this feature often involves using the existing mechanism but replacing or augmenting the error contents.
2629-
For that, you can add a bean of type`ErrorAttributes`.
2629+
For that, you can add a bean of type `ErrorAttributes`.
26302630

26312631
To change the error handling behavior, you can implement `ErrorWebExceptionHandler` and register a bean definition of that type.
26322632
Because a `WebExceptionHandler` is quite low-level, Spring Boot also provides a convenient `AbstractErrorWebExceptionHandler` to let you handle errors in a WebFlux functional way, as shown in the following example:
@@ -5074,7 +5074,7 @@ For example, you might declare the following section in `application.properties`
50745074
spring.rabbitmq.password=secret
50755075
----
50765076

5077-
Alternatively, you could configure the same connection using the `addresses` attributes:
5077+
Alternatively, you could configure the same connection using the `addresses` attribute:
50785078

50795079
[source,properties,indent=0]
50805080
----

0 commit comments

Comments
 (0)