提交 7dd69329 编写于 作者: S Sam Brannen

polishing developer documentation

上级 9a56deb2
......@@ -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<String> sortedProfilesSet = new TreeSet<String>(Arrays.asList(activeProfiles));
return StringUtils.toStringArray(sortedProfilesSet);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册