Skip to content

Commit e7c2713

Browse files
committed
polishing JavaDoc
1 parent 2d76dde commit e7c2713

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

org.springframework.context/src/main/java/org/springframework/context/config/FeatureSpecification.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* either the {@code <context:component-scan>} XML element or (as of Spring 3.1) the
2929
* {@code @ComponentScan} annotation. These two options are equivalent to one another, and users may
3030
* choose between them as a matter of convention or preference. Fundamentally, both are declarative
31-
* mechanisms for <em>specifying</em> how the Spring container should be configured. A {@code
31+
* mechanisms for <em>specifying</em> how the Spring container should be configured. A {@code
3232
* FeatureSpecification} object, then, is a way of representing this configuration information independent
3333
* of its original source format be it XML, annotations, or otherwise.
3434
*
@@ -79,18 +79,18 @@
7979
* <p>Typically, a user will call only the constructor and 'mutator' methods of a specification
8080
* object. The accessor/getter methods, however, are typically called only by the specification's
8181
* {@linkplain FeatureSpecificationExecutor executor} for the purpose of populating and registering
82-
* bean definitions with the Spring container.For this reason, it is recommended that accessor
82+
* bean definitions with the Spring container. For this reason, it is recommended that accessor
8383
* methods be given package-private visibility. This creates a better experience for users from
8484
* an IDE content-assist point of view as they will see only the public mutator methods, reducing
8585
* any possible confusion.
8686
*
8787
* <p>Implementations should take care to allow for use of string-based bean names, placeholder
8888
* (<code>"${...}"</code>) and SpEL (<code>"#{...}</code>) expressions wherever they may be useful.
8989
* While it is generally desirable to refer to dependent beans in pure Java, in certain cases a
90-
* user may wish or need to refer by bean name. For example, the {@code TxAnnotationDriven} specification
90+
* user may wish or need to refer to a bean by name. For example, the {@code TxAnnotationDriven} specification
9191
* referenced above allows for specifying its transaction-manager reference by {@code String} or by
9292
* {@code PlatformTransactionManager} reference. Such strings should always be candidates for placeholder
93-
* replacement and SpEL evaluation for maximum configurability as well as parity with the featureset
93+
* replacement and SpEL evaluation for maximum configurability as well as parity with the feature set
9494
* available in Spring XML. With regard to SpEL expressions, users should assume that only expressions
9595
* evaluating to a bean name will be supported. While it is technically possible with SpEL to resolve
9696
* a bean instance, specification executors will not support such use unless explicitly indicated.

0 commit comments

Comments
 (0)