Java
Unreadable numeric literal
Info
New
Last modified: 03 December 2024Reports long numeric literals without underscores and suggests adding them. Underscores make such literals easier to read.
Example:
1000000
After the quick-fix is applied:
1_000_000
- 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.
InsertLiteralUnderscores
This inspection only reports if the language level of the project of module is 7 or higher.
New in 2020.2
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?