diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java index 696a849801..c751fcc2e5 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/PluggableSchemaResolver.java @@ -44,12 +44,12 @@ import org.springframework.util.CollectionUtils; * *
The format of {@code META-INF/spring.schemas} is a properties file where each line * should be of the form {@code systemId=schema-location} where {@code schema-location} - * should also be a schema file in the classpath. Since systemId is commonly a URL, - * one must be careful to escape any ':' characters which are treated as delimiters + * should also be a schema file in the classpath. Since {@code systemId} is commonly a + * URL, one must be careful to escape any ':' characters which are treated as delimiters * in properties files. * - *
The pattern for the mapping files can be overidden using the - * {@link #PluggableSchemaResolver(ClassLoader, String)} constructor + *
The pattern for the mapping files can be overridden using the + * {@link #PluggableSchemaResolver(ClassLoader, String)} constructor. * * @author Rob Harrop * @author Juergen Hoeller diff --git a/spring-core/src/main/java/org/springframework/util/ClassUtils.java b/spring-core/src/main/java/org/springframework/util/ClassUtils.java index 75af805eea..0c39a99095 100644 --- a/spring-core/src/main/java/org/springframework/util/ClassUtils.java +++ b/spring-core/src/main/java/org/springframework/util/ClassUtils.java @@ -776,9 +776,9 @@ public abstract class ClassUtils { * conflicting method signatures (or a similar constraint is violated) * @see java.lang.reflect.Proxy#getProxyClass */ - @SuppressWarnings("deprecation") + @SuppressWarnings("deprecation") // on JDK 9 public static Class> createCompositeInterface(Class>[] interfaces, @Nullable ClassLoader classLoader) { - Assert.notEmpty(interfaces, "Interfaces must not be empty"); + Assert.notEmpty(interfaces, "Interface array must not be empty"); return Proxy.getProxyClass(classLoader, interfaces); }