polishing developer documentation

master
Sam Brannen 13 years ago
parent 9a56deb283
commit 7dd6932910
  1. 6
      org.springframework.test/src/main/java/org/springframework/test/context/MergedContextConfiguration.java

@ -60,9 +60,9 @@ public class MergedContextConfiguration {
return new String[] {}; return new String[] {};
} }
// Active profiles must be unique and sorted due to cache key generation // Active profiles must be unique and sorted in order to support proper
// in TestContext. Specifically, profile sets {foo,bar} and {bar,foo} // cache key generation. Specifically, profile sets {foo,bar} and
// must both result in the same array (e.g., [bar,foo]). // {bar,foo} must both result in the same array (e.g., [bar,foo]).
SortedSet<String> sortedProfilesSet = new TreeSet<String>(Arrays.asList(activeProfiles)); SortedSet<String> sortedProfilesSet = new TreeSet<String>(Arrays.asList(activeProfiles));
return StringUtils.toStringArray(sortedProfilesSet); return StringUtils.toStringArray(sortedProfilesSet);
} }

Loading…
Cancel
Save