Skip to content

Conversation

@andrewcanby-finocomp
Copy link
Contributor

@andrewcanby-finocomp andrewcanby-finocomp commented Oct 14, 2021

With the deprecation of NavigableMap the logs are filled with lines suggesting not to use it, but it can be hard to track down exactly where the usage was invoked.

This change intends to give users a clue as to where the usage is such that they can fix it before the feature is removed.

Before:

Accessing config through dot notation is deprecated, and it will be removed in a future release. Use 'config.getProperty(key, targetClass)' instead.

After:

Accessing config key 'springsecurity' through dot notation is deprecated, and it will be removed in a future release. Use 'config.getProperty(key, targetClass)' instead.

This does not print out the whole config key, only the key of the currently dereferenced item.

With the deprecation of NavigableMap the logs are filled with lines
suggesting not to use it, but it can be hard to track down exactly _where_
the usage was invoked.

This change intends to give users a clue as to where the usage is such
that they can fix it before the feature is removed
@puneetbehl puneetbehl merged commit 10b08f4 into apache:master Oct 14, 2021
@andrewcanby-finocomp andrewcanby-finocomp deleted the informative-navigablemap-deprecation-message branch July 19, 2022 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants