Unreadable numeric literal
Reports 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
This inspection only reports if the language level of the project of module is 7 or higher.
New in 2020.2
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023