[SPR-7960] Trimming profiles for good measure.

This commit is contained in:
Sam Brannen 2011-06-01 15:04:34 +00:00
parent 24a97805ef
commit ff2a603f2f
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ abstract class ContextLoaderUtils {
for (String profile : profiles) {
if (StringUtils.hasText(profile)) {
activeProfiles.add(profile);
activeProfiles.add(profile.trim());
}
}