UAST
Hardcoded strings
Warning
New
Last modified: 03 December 2024 Reports any instances of hardcoded String
literals.
Hardcoded String
literals are probably errors in an internationalized environment. This inspection won't report empty strings and strings consisting only of whitespaces. A quick-fix is available to transform a string literal into a java.util.ResourceBundle.getString()
method call.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
nls
Here you can find the description of settings available for the Hardcoded strings inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java Internationalization, 243.23126 |
Thanks for your feedback!
Was this page helpful?