[java-inspections] ConstantExpressionInspection: minor fixes

1. Disable for literals
2. Checkbox description moved to the form

GitOrigin-RevId: 48303e0c704ef9db5e09f64f34d3ee32d2743194
This commit is contained in:
Tagir Valeev
2023-08-04 15:06:40 +02:00
committed by intellij-monorepo-bot
parent 70dc1b43b7
commit 13cf92eb7f
4 changed files with 16 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
// "Compute constant value of '""" ...'" "false"
class Literal {
void test() {
System.out.println("""
<caret>Hello""");
}
}