[SPR-6184] polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4203 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
3be106c34d
commit
68f285d39d
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2011 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -86,11 +86,11 @@ public abstract class AbstractContextLoader implements ResourceTypeAwareContextL
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a modified version of the supplied locations array and returns it.
|
* Generate a modified version of the supplied locations array and return it.
|
||||||
* <p>A plain path, e.g. "context.xml", will be treated as a
|
* <p>A plain path — for example, "context.xml" —
|
||||||
* classpath resource from the same package in which the specified class is
|
* will be treated as a classpath resource from the same package in which
|
||||||
* defined. A path starting with a slash is treated as a fully qualified
|
* the specified class is defined. A path starting with a slash is treated
|
||||||
* class path location, e.g.:
|
* as a fully qualified classpath location, for example:
|
||||||
* "/org/springframework/whatever/foo.xml". A path which
|
* "/org/springframework/whatever/foo.xml". A path which
|
||||||
* references a URL (e.g., a path prefixed with
|
* references a URL (e.g., a path prefixed with
|
||||||
* {@link ResourceUtils#CLASSPATH_URL_PREFIX classpath:},
|
* {@link ResourceUtils#CLASSPATH_URL_PREFIX classpath:},
|
||||||
|
|
@ -144,6 +144,7 @@ public abstract class AbstractContextLoader implements ResourceTypeAwareContextL
|
||||||
/**
|
/**
|
||||||
* The default implementation returns {@link ResourceType#LOCATIONS}.
|
* The default implementation returns {@link ResourceType#LOCATIONS}.
|
||||||
* <p>Can be overridden by subclasses.
|
* <p>Can be overridden by subclasses.
|
||||||
|
* @since 3.1
|
||||||
*/
|
*/
|
||||||
public ResourceType getResourceType() {
|
public ResourceType getResourceType() {
|
||||||
return ResourceType.LOCATIONS;
|
return ResourceType.LOCATIONS;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue