From 7d4da0085c627aec0d95b06be85650206246f118 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 6 May 2009 22:52:27 +0000 Subject: [PATCH] [SPR-5713] JavaDoc polishing for @ContextConfiguration. --- .../test/context/ContextConfiguration.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java b/org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java index b256a5e2916..baaa4343437 100644 --- a/org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java +++ b/org.springframework.test/src/main/java/org/springframework/test/context/ContextConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 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. @@ -26,7 +26,7 @@ import java.lang.annotation.Target; /** * ContextConfiguration defines class-level metadata which can be used to * instruct client code with regard to how to load and configure an - * {@link org.springframework.context.ApplicationContext}. + * {@link org.springframework.context.ApplicationContext ApplicationContext}. * * @author Sam Brannen * @since 2.5 @@ -46,7 +46,7 @@ public @interface ContextConfiguration { String[] locations() default {}; /** - * Alias for {@link #locations()}. + * Alias for {@link #locations() locations}. * * @since 3.0 */ @@ -61,18 +61,19 @@ public @interface ContextConfiguration { * annotated class will be appended to the list of resource locations * defined by an annotated superclass. Thus, subclasses have the option of * extending the list of resource locations. In the following - * example, the {@link org.springframework.context.ApplicationContext} + * example, the {@link org.springframework.context.ApplicationContext ApplicationContext} * for ExtendedTest will be loaded from * "base-context.xml" and * "extended-context.xml", in that order. Beans defined in * "extended-context.xml" may therefore override those defined in * "base-context.xml". *
-	 * {@link ContextConfiguration @ContextConfiguration}(locations={"base-context.xml"})
+	 * @ContextConfiguration("base-context.xml")
 	 * public class BaseTest {
 	 *     // ...
 	 * }
-	 * {@link ContextConfiguration @ContextConfiguration}(locations={"extended-context.xml"})
+	 * 
+	 * @ContextConfiguration("extended-context.xml")
 	 * public class ExtendedTest extends BaseTest {
 	 *     // ...
 	 * }
@@ -85,7 +86,7 @@ public @interface ContextConfiguration {
 
 	/**
 	 * The type of {@link ContextLoader} to use for loading an
-	 * {@link org.springframework.context.ApplicationContext}.
+	 * {@link org.springframework.context.ApplicationContext ApplicationContext}.
 	 */
 	Class loader() default ContextLoader.class;