Polish contribution

See gh-33452
This commit is contained in:
Sam Brannen
2024-09-03 18:08:23 +02:00
parent 019c0b1d4e
commit 717b972f88
8 changed files with 35 additions and 31 deletions

View File

@@ -1241,8 +1241,8 @@ class ConstructorResolver {
/**
* Return a {@link Predicate} for a parameter type that checks if its target
* value is a {@link Class} and the value type is a {@link String}. This is
* a regular use cases where a {@link Class} is defined in the bean
* definition as fully-qualified class name.
* a regular use case where a {@link Class} is defined in the bean definition
* as a fully-qualified class name.
* @param valueType the type of the value
* @return a predicate to indicate a fallback match for a String to Class
* parameter

View File

@@ -137,8 +137,8 @@
<!ATTLIST bean name CDATA #IMPLIED>
<!--
Each bean definition must specify the fully qualified name of the class,
except if it serves only as a parent definition for child bean definitions.
Each bean definition must specify the fully-qualified name of the class,
unless it serves only as a parent definition for child bean definitions.
-->
<!ATTLIST bean class CDATA #IMPLIED>
@@ -452,7 +452,7 @@
<!--
Specification of the type of an overloaded method argument as a String.
For convenience, this may be a substring of the fully-qualified class name.
E.g. all the following would match "java.lang.String":
For example, all the following would match "java.lang.String":
- java.lang.String
- String
- Str

View File

@@ -270,7 +270,7 @@
<xsd:attribute name="class" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The fully qualified name of the bean's class, except if it serves only
The fully-qualified name of the bean's class, unless it serves only
as a parent definition for child bean definitions.
]]></xsd:documentation>
</xsd:annotation>
@@ -766,7 +766,7 @@
<xsd:documentation><![CDATA[
Specification of the type of an overloaded method argument as a String.
For convenience, this may be a substring of the fully-qualified class name.
E.g. all the following would match "java.lang.String":
For example, all the following would match "java.lang.String":
- java.lang.String
- String
- Str
@@ -1091,7 +1091,7 @@
<xsd:attribute name="value-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested values. Must be a fully qualified
The default Java type for nested values. Must be a fully-qualified
class name.
]]></xsd:documentation>
</xsd:annotation>
@@ -1120,7 +1120,7 @@
<xsd:attribute name="key-type" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="java:java.lang.Class"><![CDATA[
The default Java type for nested entry keys. Must be a fully qualified
The default Java type for nested entry keys. Must be a fully-qualified
class name.
]]></xsd:documentation>
</xsd:annotation>