From 22072b2414fde8568801719e1bb804bf28bd6e34 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 9 Apr 2011 14:46:49 +0000 Subject: [PATCH] [SPR-6184] polishing --- .../test/context/support/AbstractContextLoader.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/org.springframework.test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java b/org.springframework.test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java index ff0328e883..0ce020b82f 100644 --- a/org.springframework.test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java +++ b/org.springframework.test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java @@ -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"); * 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. - *

A plain path, e.g. "context.xml", will be treated as a - * classpath resource from the same package in which the specified class is - * defined. A path starting with a slash is treated as a fully qualified - * class path location, e.g.: + * Generate a modified version of the supplied locations array and return it. + *

A plain path — for example, "context.xml" — + * will be treated as a classpath resource from the same package in which + * the specified class is defined. A path starting with a slash is treated + * as a fully qualified classpath location, for example: * "/org/springframework/whatever/foo.xml". A path which * references a URL (e.g., a path prefixed with * {@link ResourceUtils#CLASSPATH_URL_PREFIX classpath:}, @@ -144,6 +144,7 @@ public abstract class AbstractContextLoader implements ResourceTypeAwareContextL /** * The default implementation returns {@link ResourceType#LOCATIONS}. *

Can be overridden by subclasses. + * @since 3.1 */ public ResourceType getResourceType() { return ResourceType.LOCATIONS;