|
|
|
@ -502,7 +502,6 @@ abstract class ContextLoaderUtils {
@@ -502,7 +502,6 @@ abstract class ContextLoaderUtils {
|
|
|
|
|
throw new IllegalStateException(msg, e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (resolver != null) { |
|
|
|
|
profiles = resolver.resolve(declaringClass); |
|
|
|
|
if (profiles == null) { |
|
|
|
|
String msg = String.format( |
|
|
|
@ -512,7 +511,6 @@ abstract class ContextLoaderUtils {
@@ -512,7 +511,6 @@ abstract class ContextLoaderUtils {
|
|
|
|
|
throw new IllegalStateException(msg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else if (valueDeclared) { |
|
|
|
|
profiles = valueProfiles; |
|
|
|
|
} |
|
|
|
|