From 072271d9e99367e75bb0671b25558871df82988a Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 20 Jul 2011 22:18:55 +0000 Subject: [PATCH] [SPR-8549] Documented the equals() method implementation in MergedContextConfiguration. --- .../test/context/MergedContextConfiguration.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/org.springframework.test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java b/org.springframework.test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java index 10d04c7e7d1..59b282a4976 100644 --- a/org.springframework.test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java +++ b/org.springframework.test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java @@ -176,9 +176,11 @@ public class MergedContextConfiguration implements Serializable { } /** - * TODO Document equals() implementation. - * - * @see java.lang.Object#equals(java.lang.Object) + * Determine if the supplied object is equal to this {@code MergedContextConfiguration} + * instance by comparing both object's {@link #getLocations() locations}, + * {@link #getClasses() configuration classes}, {@link #getActiveProfiles() + * active profiles}, and the fully qualified names of their + * {@link #getContextLoader() ContextLoaders}. */ @Override public boolean equals(Object obj) {