Fix for handling extending list of excluded loaders with springloaded.properties

Issue: http://jira.grails.org/browse/GRAILS-9600
This commit is contained in:
Andy Clement
2012-12-11 09:35:44 -08:00
parent 778f4e52ce
commit 8ff073a398

View File

@@ -450,7 +450,7 @@ public class TypeRegistry {
StringTokenizer st = new StringTokenizer(value, ",");
while (st.hasMoreElements()) {
String loaderPrefix = st.nextToken();
if (loaderPrefix.toLowerCase().equals("DEFAULT")) {
if (loaderPrefix.toLowerCase().equals("default")) {
for (String element : STANDARD_EXCLUDED_LOADERS) {
loaders.add(element);
}