Skip to content

Commit 82e4523

Browse files
committed
Expand acronym FQN and FQCN
1 parent 69d5587 commit 82e4523

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/ConstructorResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ private Predicate<ResolvableType> valueOrCollection(ResolvableType valueType,
12421242
* Return a {@link Predicate} for a parameter type that checks if its target
12431243
* value is a {@link Class} and the value type is a {@link String}. This is
12441244
* a regular use cases where a {@link Class} is defined in the bean
1245-
* definition as an FQN.
1245+
* definition as fully-qualified class name.
12461246
* @param valueType the type of the value
12471247
* @return a predicate to indicate a fallback match for a String to Class
12481248
* parameter

spring-beans/src/main/resources/org/springframework/beans/factory/xml/spring-beans.dtd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@
451451

452452
<!--
453453
Specification of the type of an overloaded method argument as a String.
454-
For convenience, this may be a substring of the FQN. E.g. all the
455-
following would match "java.lang.String":
454+
For convenience, this may be a substring of the fully-qualified class name.
455+
E.g. all the following would match "java.lang.String":
456456
- java.lang.String
457457
- String
458458
- Str

spring-beans/src/main/resources/org/springframework/beans/factory/xml/spring-beans.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,8 +765,8 @@
765765
<xsd:annotation>
766766
<xsd:documentation><![CDATA[
767767
Specification of the type of an overloaded method argument as a String.
768-
For convenience, this may be a substring of the FQN. E.g. all the
769-
following would match "java.lang.String":
768+
For convenience, this may be a substring of the fully-qualified class name.
769+
E.g. all the following would match "java.lang.String":
770770
- java.lang.String
771771
- String
772772
- Str

spring-core/src/main/java/org/springframework/aot/hint/RuntimeHintsRegistrar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* <p>Implementations of this interface can be registered dynamically by using
2727
* {@link org.springframework.context.annotation.ImportRuntimeHints @ImportRuntimeHints}
28-
* or statically in {@code META-INF/spring/aot.factories} by using the FQN of this
28+
* or statically in {@code META-INF/spring/aot.factories} by using the fully-qualified class name of this
2929
* interface as the key. A standard no-arg constructor is required for implementations.
3030
*
3131
* @author Brian Clozel

spring-tx/src/main/java/org/springframework/transaction/interceptor/MethodMapTransactionAttributeSource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public class MethodMapTransactionAttributeSource
7373

7474

7575
/**
76-
* Set a name/attribute map, consisting of "FQCN.method" method names
77-
* (e.g. "com.mycompany.mycode.MyClass.myMethod") and
76+
* Set a name/attribute map, consisting of "{@code <fully-qualified class name>.<method-name>}"
77+
* method names (e.g. "com.mycompany.mycode.MyClass.myMethod") and
7878
* {@link TransactionAttribute} instances (or Strings to be converted
7979
* to {@code TransactionAttribute} instances).
8080
* <p>Intended for configuration via setter injection, typically within
@@ -134,7 +134,7 @@ public void addTransactionalMethod(String name, TransactionAttribute attr) {
134134
Assert.notNull(name, "Name must not be null");
135135
int lastDotIndex = name.lastIndexOf('.');
136136
if (lastDotIndex == -1) {
137-
throw new IllegalArgumentException("'" + name + "' is not a valid method name: format is FQN.methodName");
137+
throw new IllegalArgumentException("'" + name + "' is not a valid method name: format is <fully-qualified class name>.<method-name>");
138138
}
139139
String className = name.substring(0, lastDotIndex);
140140
String methodName = name.substring(lastDotIndex + 1);

spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAttributeSourceEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* {@link TransactionAttributeEditor} in this package.
3030
*
3131
* <p>Strings are in property syntax, with the form:<br>
32-
* {@code FQCN.methodName=<transaction attribute string>}
32+
* {@code <fully-qualified class name>.<method-name>=<transaction attribute string>}
3333
*
3434
* <p>For example:<br>
3535
* {@code com.mycompany.mycode.MyClass.myMethod=PROPAGATION_MANDATORY,ISOLATION_DEFAULT}

spring-tx/src/test/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttributeTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private void doTestRuleForSelectiveRollbackOnChecked(RuleBasedTransactionAttribu
108108
void ruleForCommitOnSubclassOfChecked() {
109109
List<RollbackRuleAttribute> list = new ArrayList<>();
110110
// Note that it's important to ensure that we have this as
111-
// a FQN: otherwise it will match everything!
111+
// fully-qualified class name: otherwise it will match everything!
112112
list.add(new RollbackRuleAttribute("java.lang.Exception"));
113113
list.add(new NoRollbackRuleAttribute("IOException"));
114114
RuleBasedTransactionAttribute rta = new RuleBasedTransactionAttribute(TransactionDefinition.PROPAGATION_REQUIRED, list);

spring-tx/src/test/java/org/springframework/transaction/interceptor/TransactionAttributeSourceEditorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Tests for {@link TransactionAttributeSourceEditor}.
3030
*
31-
* <p>Format is: {@code FQN.Method=tx attribute representation}
31+
* <p>Format is: {@code <fully-qualified class name>.<method-name>=tx attribute representation}
3232
*
3333
* @author Rod Johnson
3434
* @author Sam Brannen

spring-webmvc/src/main/java/org/springframework/web/servlet/handler/SimpleMappingExceptionResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class SimpleMappingExceptionResolver extends AbstractHandlerExceptionReso
7777
* For example, "Exception" will match nearly anything, and will probably hide other rules.
7878
* "java.lang.Exception" would be correct if "Exception" was meant to define a rule for all
7979
* checked exceptions. With more unusual exception names such as "BaseBusinessException"
80-
* there's no need to use a FQN.
80+
* there's no need to use fully-qualified class name.
8181
* @param mappings exception patterns (can also be fully qualified class names) as keys,
8282
* and error view names as values
8383
*/

0 commit comments

Comments
 (0)