Skip to content

Commit 92a231c

Browse files
marcwrobelsbrannen
authored andcommitted
Fix typos in Javadoc, reference docs, and code
Closes gh-28822
1 parent 50dff77 commit 92a231c

File tree

18 files changed

+23
-23
lines changed

18 files changed

+23
-23
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
147147
/**
148148
* Set whether the proxy should be frozen, preventing advice
149149
* from being added to it once it is created.
150-
* <p>Overridden from the super class to prevent the proxy configuration
150+
* <p>Overridden from the superclass to prevent the proxy configuration
151151
* from being frozen before the proxy is created.
152152
*/
153153
@Override

spring-aspects/src/main/java/org/springframework/beans/factory/aspectj/AbstractDependencyInjectionAspect.aj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public abstract aspect AbstractDependencyInjectionAspect {
3535
mostSpecificSubTypeConstruction() && !preConstructionConfiguration();
3636

3737
/**
38-
* Select least specific super type that is marked for DI
38+
* Select least specific supertype that is marked for DI
3939
* (so that injection occurs only once with pre-construction injection).
4040
*/
4141
public abstract pointcut leastSpecificSuperTypeConstruction();

spring-context-indexer/src/main/java/org/springframework/context/index/processor/TypeHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private String getQualifiedName(Element element) {
8181
}
8282

8383
/**
84-
* Return the super class of the specified {@link Element} or null if this
84+
* Return the superclass of the specified {@link Element} or null if this
8585
* {@code element} represents {@link Object}.
8686
*/
8787
public Element getSuperClass(Element element) {
@@ -100,7 +100,7 @@ public Element getSuperClass(Element element) {
100100
public List<Element> getDirectInterfaces(Element element) {
101101
List<? extends TypeMirror> superTypes = this.types.directSupertypes(element.asType());
102102
List<Element> directInterfaces = new ArrayList<>();
103-
if (superTypes.size() > 1) { // index 0 is the super class
103+
if (superTypes.size() > 1) { // index 0 is the superclass
104104
for (int i = 1; i < superTypes.size(); i++) {
105105
Element e = this.types.asElement(superTypes.get(i));
106106
if (e != null) {

spring-core/src/main/java/org/springframework/asm/Type.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ public int getSize() {
708708
*
709709
* @return the size of the arguments of the method (plus one for the implicit this argument),
710710
* argumentsSize, and the size of its return value, returnSize, packed into a single int i =
711-
* {@code (argumentsSize &lt;&lt; 2) | returnSize} (argumentsSize is therefore equal to {@code
712-
* i &gt;&gt; 2}, and returnSize to {@code i &amp; 0x03}).
711+
* {@code (argumentsSize << 2) | returnSize} (argumentsSize is therefore equal to {@code
712+
* i >> 2}, and returnSize to {@code i & 0x03}).
713713
*/
714714
public int getArgumentsAndReturnSizes() {
715715
return getArgumentsAndReturnSizes(getDescriptor());
@@ -721,8 +721,8 @@ public int getArgumentsAndReturnSizes() {
721721
* @param methodDescriptor a method descriptor.
722722
* @return the size of the arguments of the method (plus one for the implicit this argument),
723723
* argumentsSize, and the size of its return value, returnSize, packed into a single int i =
724-
* {@code (argumentsSize &lt;&lt; 2) | returnSize} (argumentsSize is therefore equal to {@code
725-
* i &gt;&gt; 2}, and returnSize to {@code i &amp; 0x03}).
724+
* {@code (argumentsSize << 2) | returnSize} (argumentsSize is therefore equal to {@code
725+
* i >> 2}, and returnSize to {@code i & 0x03}).
726726
*/
727727
public static int getArgumentsAndReturnSizes(final String methodDescriptor) {
728728
int argumentsSize = 1;

spring-core/src/main/java/org/springframework/core/type/filter/AbstractTypeHierarchyTraversingFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public boolean match(MetadataReader metadataReader, MetadataReaderFactory metada
8686
}
8787
catch (IOException ex) {
8888
if (logger.isDebugEnabled()) {
89-
logger.debug("Could not read super class [" + metadata.getSuperClassName() +
89+
logger.debug("Could not read superclass [" + metadata.getSuperClassName() +
9090
"] of type-filtered class [" + metadata.getClassName() + "]");
9191
}
9292
}

spring-core/src/main/java/org/springframework/util/DigestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-expression/src/main/java/org/springframework/expression/ExpressionException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import org.springframework.lang.Nullable;
2020

2121
/**
22-
* Super class for exceptions that can occur whilst processing expressions.
22+
* Superclass for exceptions that can occur whilst processing expressions.
2323
*
2424
* @author Andy Clement
2525
* @author Phillip Webb

spring-jdbc/src/main/java/org/springframework/jdbc/core/support/JdbcDaoSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.springframework.util.Assert;
3030

3131
/**
32-
* Convenient super class for JDBC-based data access objects.
32+
* Convenient superclass for JDBC-based data access objects.
3333
*
3434
* <p>Requires a {@link javax.sql.DataSource} to be set, providing a
3535
* {@link org.springframework.jdbc.core.JdbcTemplate} based on it to

spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.springframework.lang.Nullable;
2828

2929
/**
30-
* Convenient super class for application classes that need JMS access.
30+
* Convenient superclass for application classes that need JMS access.
3131
*
3232
* <p>Requires a ConnectionFactory or a JmsTemplate instance to be set.
3333
* It will create its own JmsTemplate if a ConnectionFactory is passed in.

spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractBrokerMessageHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public final boolean isRunning() {
262262
* may still independently alternate between being on and off depending on the
263263
* concrete subclass implementation.
264264
* <p>Application components may implement
265-
* {@code org.springframework.context.ApplicationListener&lt;BrokerAvailabilityEvent&gt;}
265+
* {@code org.springframework.context.ApplicationListener<BrokerAvailabilityEvent>}
266266
* to receive notifications when broker becomes available and unavailable.
267267
*/
268268
public boolean isBrokerAvailable() {

0 commit comments

Comments
 (0)