Skip to content

Commit 854dadc

Browse files
committed
Merge pull request #4446 from izeye/polish-20151112
* pr/4446: Polish docs
2 parents 8749fc7 + 4d91116 commit 854dadc

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ content into your application; rather pick only the properties that you need.
7272
spring.cache.type= # Cache type, auto-detected according to the environment by default.
7373
7474
# SPRING CONFIG ({sc-spring-boot}/context/config/ConfigFileApplicationListener.{sc-ext}[ConfigFileApplicationListener])
75-
spring.config.location= # Config file locations. TODO
75+
spring.config.location= # Config file locations.
7676
spring.config.name=application # Config file name.
7777
7878
# HAZELCAST ({sc-spring-boot-autoconfigure}/hazelcast/HazelcastProperties.{sc-ext}[HazelcastProperties])
@@ -606,7 +606,7 @@ content into your application; rather pick only the properties that you need.
606606
spring.jta.bitronix.connectionfactory.password= # The password to use to connect to the JMS provider.
607607
spring.jta.bitronix.connectionfactory.share-transaction-connections=false # Whether or not connections in the ACCESSIBLE state can be shared within the context of a transaction.
608608
spring.jta.bitronix.connectionfactory.test-connections=true # Whether or not connections should be tested when acquired from the pool.
609-
spring.jta.bitronix.connectionfactory.two-pc-ordering-position=1 # The postion that this resource should take during two-phase commit (always first is Integer.MIN_VALUE, always last is Integer.MAX_VALUE).
609+
spring.jta.bitronix.connectionfactory.two-pc-ordering-position=1 # The position that this resource should take during two-phase commit (always first is Integer.MIN_VALUE, always last is Integer.MAX_VALUE).
610610
spring.jta.bitronix.connectionfactory.unique-name=jmsConnectionFactory # The unique name used to identify the resource during recovery.
611611
spring.jta.bitronix.connectionfactory.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources.
612612
spring.jta.bitronix.connectionfactory.user= # The user to use to connect to the JMS provider.

spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ NOTE: You need to add `compileJava.dependsOn(processResources)` to your build to
700700
that resources are processed before code is compiled. Without this directive any
701701
`additional-spring-configuration-metadata.json` files will not be processed.
702702

703-
The processor will pickup both classes and methods that are annotated with
703+
The processor will pick up both classes and methods that are annotated with
704704
`@ConfigurationProperties`. The Javadoc for field values within configuration classes
705705
will be used to populate the `description` attribute.
706706

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ not something you want to be on the classpath in production. It is a Hibernate f
16211621
(nothing to do with Spring).
16221622

16231623

1624-
[[howto-intialize-a-database-using-spring-jdbc]]
1624+
[[howto-initialize-a-database-using-spring-jdbc]]
16251625
=== Initialize a database using Spring JDBC
16261626
Spring JDBC has a `DataSource` initializer feature. Spring Boot enables it by default and
16271627
loads SQL from the standard locations `schema.sql` and `data.sql` (in the root of the

spring-boot-samples/spring-boot-sample-data-gemfire/src/main/java/sample/data/gemfire/SampleDataGemFireApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.transaction.annotation.EnableTransactionManagement;
2424

2525
/**
26-
* The GemstoneAppConfiguration class for allowing Spring Boot to pickup additional
26+
* The GemstoneAppConfiguration class for allowing Spring Boot to pick up additional
2727
* application Spring configuration meta-data for GemFire, which must be specified in
2828
* Spring Data GemFire's XML namespace.
2929
*

spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ private void validate(RelaxedDataBinder dataBinder) throws BindException {
353353
}
354354

355355
/**
356-
* Customize the databinder.
356+
* Customize the data binder.
357357
* @param dataBinder the data binder that will be used to bind and validate
358358
*/
359359
protected void customizeBinder(DataBinder dataBinder) {

spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private void processNonEnumerablePropertySource(PropertySource<?> source,
161161
value = resolver.getProperty(propertyName, Object.class);
162162
}
163163
catch (RuntimeException ex) {
164-
// Probably could not convert to Object, weird, but ignoreable
164+
// Probably could not convert to Object, weird, but ignorable
165165
}
166166
if (value == null) {
167167
value = source.getProperty(propertyName.toUpperCase());

spring-boot/src/main/java/org/springframework/boot/bind/YamlConfigurationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class YamlConfigurationFactory<T>
7272

7373
/**
7474
* Sets a validation constructor which will be applied to the YAML doc to see whether
75-
* it matches the expected Javabean.
75+
* it matches the expected JavaBean.
7676
* @param type the root type
7777
*/
7878
public YamlConfigurationFactory(Class<?> type) {

spring-boot/src/main/java/org/springframework/boot/bind/YamlJavaBeanPropertyConstructor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/**
2929
* Extended version of snakeyaml's Constructor class to facilitate mapping custom YAML
30-
* keys to Javabean property names.
30+
* keys to JavaBean property names.
3131
*
3232
* @author Luke Taylor
3333
*/
@@ -57,8 +57,8 @@ public YamlJavaBeanPropertyConstructor(Class<?> theRoot,
5757
}
5858

5959
/**
60-
* Adds an alias for a Javabean property name on a particular type. The values of YAML
61-
* keys with the alias name will be mapped to the Javabean property.
60+
* Adds an alias for a JavaBean property name on a particular type. The values of YAML
61+
* keys with the alias name will be mapped to the JavaBean property.
6262
* @param alias the alias to map
6363
* @param type the type of property
6464
* @param name the property name

spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ protected abstract void loadConfiguration(
149149
/**
150150
* Reinitialize the logging system if required. Called when
151151
* {@link #getSelfInitializationConfig()} is used and the log file hasn't changed. May
152-
* be used to reload configuration (for example to pickup additional System
152+
* be used to reload configuration (for example to pick up additional System
153153
* properties).
154154
* @param initializationContext the logging initialization context
155155
*/

0 commit comments

Comments
 (0)