Java
Confusing octal escape sequence
Warning
New
Last modified: 03 December 2024Reports string literals containing an octal escape sequence immediately followed by a digit.
Such strings may be confusing, and are often the result of errors in escape code creation.
Example:
System.out.println("\1234"); // Octal escape sequence '\123' immediately followed by a digit
- 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.
ConfusingOctalEscapeSequence
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?