mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce parameter object: downgrade accessibilty for inner classes (IDEADEV-35295)
This commit is contained in:
+3
-3
@@ -1,10 +1,10 @@
|
||||
public interface Test {
|
||||
void foo(Param param);
|
||||
|
||||
public static class Param {
|
||||
private static class Param {
|
||||
private final String s;
|
||||
|
||||
public Param(String s) {
|
||||
private Param(String s) {
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@ public interface Test {
|
||||
}
|
||||
|
||||
class TestImpl implements Test {
|
||||
void foo(Param param){}
|
||||
void foo(Test.Param param){}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user