Polishing
This commit is contained in:
parent
0288878bcc
commit
e583da0725
|
@ -44,12 +44,12 @@ import org.springframework.util.CollectionUtils;
|
||||||
*
|
*
|
||||||
* <p>The format of {@code META-INF/spring.schemas} is a properties file where each line
|
* <p>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 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,
|
* should also be a schema file in the classpath. Since {@code systemId} is commonly a
|
||||||
* one must be careful to escape any ':' characters which are treated as delimiters
|
* URL, one must be careful to escape any ':' characters which are treated as delimiters
|
||||||
* in properties files.
|
* in properties files.
|
||||||
*
|
*
|
||||||
* <p>The pattern for the mapping files can be overidden using the
|
* <p>The pattern for the mapping files can be overridden using the
|
||||||
* {@link #PluggableSchemaResolver(ClassLoader, String)} constructor
|
* {@link #PluggableSchemaResolver(ClassLoader, String)} constructor.
|
||||||
*
|
*
|
||||||
* @author Rob Harrop
|
* @author Rob Harrop
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
|
|
|
@ -776,9 +776,9 @@ public abstract class ClassUtils {
|
||||||
* conflicting method signatures (or a similar constraint is violated)
|
* conflicting method signatures (or a similar constraint is violated)
|
||||||
* @see java.lang.reflect.Proxy#getProxyClass
|
* @see java.lang.reflect.Proxy#getProxyClass
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation") // on JDK 9
|
||||||
public static Class<?> createCompositeInterface(Class<?>[] interfaces, @Nullable ClassLoader classLoader) {
|
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);
|
return Proxy.getProxyClass(classLoader, interfaces);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue