Skip to content

Commit 008ee06

Browse files
authored
Merge pull request #15035 from apache/dot-notation-deprecation
Remove deprecation warning for dot notation access
2 parents 959f236 + 2f5354f commit 008ee06

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,6 @@ class NavigableMap implements Map<String, Object>, Cloneable {
359359
return new NullSafeNavigator(this, [name].asImmutable())
360360
}
361361
Object result = get(name)
362-
if (!(result instanceof NavigableMap)) {
363-
if (LOG.isWarnEnabled()) {
364-
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)
365-
}
366-
}
367362
return result
368363
}
369364

0 commit comments

Comments
 (0)