diff --git a/grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy b/grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy index 15fddd7c39e..330d97dd72c 100644 --- a/grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy +++ b/grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy @@ -359,11 +359,6 @@ class NavigableMap implements Map, Cloneable { return new NullSafeNavigator(this, [name].asImmutable()) } Object result = get(name) - if (!(result instanceof NavigableMap)) { - if (LOG.isWarnEnabled()) { - LOG.warn("Accessing config key '{}' through dot notation is deprecated, and it will be removed in a future release. Use 'config.getProperty(key, targetClass)' instead.", name) - } - } return result }