Incorrect 'MessageFormat' pattern
Reports incorrect message format patterns or incorrect indexes of placeholders
The following errors are reported:
Unparsed or negative index
Unclosed brace
Unpaired quote. In this case, a part of a pattern may not be used
Probably incorrect number of quotes
Incorrect lower bound of nested choice patterns
Incorrect indexes of placeholders. In this case, a placeholder may not be substituted or an argument may not be used
Examples:
Locating this inspection
- 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.
IncorrectMessageFormat- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
New in 2023.2
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 242.22892 |