From 69b3be67c45dbd2950ec566bd89d3a54c4022d21 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 17 Jun 2011 21:51:01 +0000 Subject: [PATCH] polishing developer documentation git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4574 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../test/context/MergedContextConfiguration.java | 6 +++--- 1 file changed, 3 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 564e1702e5d..b9fc50fc369 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 @@ -60,9 +60,9 @@ public class MergedContextConfiguration { return new String[] {}; } - // Active profiles must be unique and sorted due to cache key generation - // in TestContext. Specifically, profile sets {foo,bar} and {bar,foo} - // must both result in the same array (e.g., [bar,foo]). + // Active profiles must be unique and sorted in order to support proper + // cache key generation. Specifically, profile sets {foo,bar} and + // {bar,foo} must both result in the same array (e.g., [bar,foo]). SortedSet sortedProfilesSet = new TreeSet(Arrays.asList(activeProfiles)); return StringUtils.toStringArray(sortedProfilesSet); }