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
|
||||
* 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.
|
||||
*
|
||||
* <p>The pattern for the mapping files can be overidden using the
|
||||
* {@link #PluggableSchemaResolver(ClassLoader, String)} constructor
|
||||
* <p>The pattern for the mapping files can be overridden using the
|
||||
* {@link #PluggableSchemaResolver(ClassLoader, String)} constructor.
|
||||
*
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue