Skip to content

Commit 0773b89

Browse files
committed
Merge pull request spring-projects#1659 from ericdahl/docs-grammar
* docs-grammar: Fix some grammar issues in docs
2 parents d63bbdf + bbf3076 commit 0773b89

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

CONTRIBUTING.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The generated eclipse projects can be imported by selecting `import existing pro
145145
from the `file` menu.
146146

147147
=== Importing into other IDEs
148-
Maven is well supported by most Java IDEs. Refer to you vendor documentation.
148+
Maven is well supported by most Java IDEs. Refer to your vendor documentation.
149149

150150
== Integration tests
151151
The sample application are used as integration tests during the build (when you

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ are automatically registered with your shell.
337337

338338
[[getting-started-cli-example]]
339339
==== Quick start Spring CLI example
340-
Here's a really simple web application that you can use to test you installation. Create
340+
Here's a really simple web application that you can use to test your installation. Create
341341
a file called `app.groovy`:
342342

343343
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
@@ -361,7 +361,7 @@ Then simply run it from a shell:
361361
----
362362

363363
NOTE: It will take some time when you first run the application as dependencies are
364-
downloaded, subsequent runs will be much quicker.
364+
downloaded. Subsequent runs will be much quicker.
365365

366366
Open http://localhost:8080 in your favorite web browser and you should see the following
367367
output:
@@ -422,7 +422,7 @@ that you have created a suitable folder and that it is your ``current directory'
422422
[[getting-started-first-application-pom]]
423423
=== Creating the POM
424424
We need to start by creating a Maven `pom.xml` file. The `pom.xml` is the recipe that
425-
will be used to build your project. Open you favorite text editor and add the following:
425+
will be used to build your project. Open your favorite text editor and add the following:
426426

427427
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
428428
----
@@ -500,7 +500,7 @@ currently have.
500500
[INFO] com.example:myproject:jar:0.0.1-SNAPSHOT
501501
----
502502

503-
The `mvn dependency:tree` command prints tree representation of your project dependencies.
503+
The `mvn dependency:tree` command prints a tree representation of your project dependencies.
504504
You can see that `spring-boot-starter-parent` provides no
505505
dependencies by itself. Let's edit our `pom.xml` and add the `spring-boot-starter-web` dependency
506506
just below the `parent` section:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ The multipart support is helpful when you want to receive multipart encoded file
762762
a `@RequestParam`-annotated parameter of type `MultipartFile` in a Spring MVC controller
763763
handler method.
764764

765-
See the {sc-spring-boot-autoconfigure}/web/MultipartAutoConfiguration.{sc-ext}[`MultipartAutoConfiguration`] s
766-
ource for more details.
765+
See the {sc-spring-boot-autoconfigure}/web/MultipartAutoConfiguration.{sc-ext}[`MultipartAutoConfiguration`]
766+
source for more details.
767767

768768

769769

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ can set up default values for your application in `application.properties` (or w
308308
other basename you choose with `spring.config.name`) and override it at runtime with a
309309
different file, keeping the defaults.
310310

311-
NOTE: if you use environment variables not system properties, most operating systems
312-
disallow period-separated key names, but you can use underscores instead (e.g.
311+
NOTE: If you use environment variables rather than system properties, most operating
312+
systems disallow period-separated key names, but you can use underscores instead (e.g.
313313
`SPRING_CONFIG_NAME` instead of `spring.config.name`).
314314

315315
NOTE: If you are running in a container then JNDI properties (in `java:comp/env`) or
@@ -324,7 +324,7 @@ In addition to `application.properties` files, profile specific properties can a
324324
defined using the naming convention `application-{profile}.properties`.
325325

326326
Profile specific properties are loaded from the same locations as standard
327-
`application.properties`, with profiles specific files overriding the default ones.
327+
`application.properties`, with profile specific files overriding the default ones.
328328

329329

330330

@@ -369,7 +369,7 @@ For example, the following YAML document:
369369
[source,yaml,indent=0]
370370
----
371371
environments:
372-
dev:`
372+
dev:
373373
url: http://dev.bar.com
374374
name: Developer Setup
375375
prod:
@@ -436,7 +436,7 @@ placeholders syntax to access YAML properties.
436436
[[boot-features-external-config-multi-profile-yaml]]
437437
==== Multi-profile YAML documents
438438
You can specify multiple profile-specific YAML documents in a single file by
439-
by using a `spring.profiles` key to indicate when the document applies. For example:
439+
using a `spring.profiles` key to indicate when the document applies. For example:
440440

441441
[source,yaml,indent=0]
442442
----
@@ -675,12 +675,12 @@ http://logging.apache.org/log4j/[Log4J] and
675675
http://logback.qos.ch/[Logback].
676676
In each case there is console output and file output (rotating, 10 Mb file size).
677677

678-
By default, If you use the ``Starter POMs'', Logback will be used for logging. Appropriate
678+
By default, if you use the ``Starter POMs'', Logback will be used for logging. Appropriate
679679
Logback routing is also included to ensure that dependent libraries that use
680680
Java Util Logging, Commons Logging, Log4J or SLF4J will all work correctly.
681681

682682
TIP: There are a lot of logging frameworks available for Java. Don't worry if the above
683-
list seems confusing, generally you won't need to change your logging dependencies and
683+
list seems confusing. Generally you won't need to change your logging dependencies and
684684
the Spring Boot defaults will work just fine.
685685

686686

@@ -700,7 +700,7 @@ The default log output from Spring Boot looks like this:
700700

701701
The following items are output:
702702

703-
* Date and Time -- Millesecond precision and easily sortable.
703+
* Date and Time -- Millisecond precision and easily sortable.
704704
* Log Level -- `ERROR`, `WARN`, `INFO`, `DEBUG` or `TRACE`.
705705
* Process ID.
706706
* A `---` separator to distinguish the start of actual log messages.
@@ -801,7 +801,7 @@ To help with the customization some other properties are transferred from the Sp
801801
All the logging systems supported can consult System properties when parsing their
802802
configuration files. See the default configurations in `spring-boot.jar` for examples.
803803

804-
WARNING: There are know classloading issues with Java Util Logging that cause problems
804+
WARNING: There are known classloading issues with Java Util Logging that cause problems
805805
when running from an ``executable jar''. We recommend that you avoid it if at all
806806
possible.
807807

@@ -1335,7 +1335,7 @@ Production database connections can also be auto-configured using a pooling
13351335
* Lastly, if Commons DBCP2 is available we will use it
13361336

13371337
If you use the `spring-boot-starter-jdbc` or `spring-boot-starter-data-jpa`
1338-
``starter POMs'' you will automcatically get a dependency to `tomcat-jdbc`.
1338+
``starter POMs'' you will automatically get a dependency to `tomcat-jdbc`.
13391339

13401340
NOTE: Additional connection pools can always be configured manually. If you define your
13411341
own `DataSource` bean, auto-configuration will not occur.

0 commit comments

Comments
 (0)