mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: fix quotes in error message (IDEA-372971)
GitOrigin-RevId: 6d5fb46cea97bfb20acfce6beed64e33ca3d5142
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6a5b31b002
commit
7ca512a863
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user