Java: fix quotes in error message (IDEA-372971)

(cherry picked from commit 6d5fb46cea97bfb20acfce6beed64e33ca3d5142)


(cherry picked from commit 187fd43da740a0b415c38719332402b4725ef19f)

IJ-MR-169535

GitOrigin-RevId: 69a062f0d96dd4770bdd5131a95508a0a6858ea3
This commit is contained in:
Bas Leijdekkers
2025-06-19 17:34:31 +02:00
committed by intellij-monorepo-bot
parent b40bf5fa17
commit 695481c17c
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ class B extends A {
B(boolean b, int i) {
<error descr="Cannot reference 'super' before superclass constructor is called">super</error>.i = i;
<error descr="Cannot reference 'this' before superclass constructor is called">this</error>.i = i;
if (false) <error descr="return not allowed before 'super()' call">return;</error>
if (false) <error descr="'return' not allowed before 'super()' call">return;</error>
super(i);
}

View File

@@ -39,7 +39,7 @@ class B extends A {
}
}
B(boolean b, int i) {
if (false) <error descr="return not allowed before 'super()' call">return;</error>
if (false) <error descr="'return' not allowed before 'super()' call">return;</error>
super(i);
}