mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-149950 Bad typo in "Declaration access can be weaker" inspection
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ interface i {
|
||||
}
|
||||
|
||||
public class a implements i {
|
||||
void <error descr="'ff()' in 'a' clashes with 'ff()' in 'i'; attempting to assign weaker access privileges ('packageLocal'); was 'public'">ff</error>() {}
|
||||
void <error descr="'ff()' in 'a' clashes with 'ff()' in 'i'; attempting to assign weaker access privileges ('package local'); was 'public'">ff</error>() {}
|
||||
}
|
||||
class ai implements i {
|
||||
public <error descr="'ff()' in 'ai' clashes with 'ff()' in 'i'; attempting to use incompatible return type">int</error> ff() { return 0;}
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ interface i2 {
|
||||
class weak {
|
||||
void f1() {}
|
||||
}
|
||||
<error descr="'f1()' in 'weak' clashes with 'f1()' in 'i'; attempting to assign weaker access privileges ('packageLocal'); was 'public'">class a2 extends weak implements i</error> {
|
||||
<error descr="'f1()' in 'weak' clashes with 'f1()' in 'i'; attempting to assign weaker access privileges ('package local'); was 'public'">class a2 extends weak implements i</error> {
|
||||
}
|
||||
|
||||
class a3 {
|
||||
|
||||
Reference in New Issue
Block a user