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

GitOrigin-RevId: 6d5fb46cea97bfb20acfce6beed64e33ca3d5142
This commit is contained in:
Bas Leijdekkers
2025-06-20 18:38:03 +00:00
committed by intellij-monorepo-bot
parent 6a5b31b002
commit 7ca512a863
3 changed files with 3 additions and 3 deletions
@@ -516,7 +516,7 @@ unnamed.variable.without.initializer=Unnamed variable declaration must have an i
return.outside.switch.expression=Return outside of enclosing switch expression
return.compact.constructor='return' statement is not allowed in compact constructor
return.outside.method=Return outside method
return.before.explicit.constructor.call='return' not allowed before ''{0}'' call
return.before.explicit.constructor.call=''return'' not allowed before ''{0}'' call
return.value.missing=Missing return value
return.from.void.method=Cannot return a value from a method with void result type
return.from.constructor=Cannot return a value from a constructor
@@ -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);
}
@@ -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);
}