mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e12af508c9
commit
9215f4240b
-15
@@ -1,15 +0,0 @@
|
||||
interface Either {
|
||||
public static final class Left<L> {
|
||||
private final L value;
|
||||
|
||||
private Left(L value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Main {
|
||||
{
|
||||
new <error descr="'Left(L)' has private access in 'Either.Left'">Either.Left<></error>("");
|
||||
}
|
||||
}
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
import java.util.function.*;
|
||||
|
||||
class A {
|
||||
|
||||
{
|
||||
B<Double> local;
|
||||
method(local = new B<>(new C<>((supplier) -> supplier.get())));
|
||||
}
|
||||
|
||||
void method(B<?> value) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B<T> {
|
||||
B(C<T> c) { }
|
||||
}
|
||||
|
||||
class C<T> {
|
||||
C(Function<Supplier<T>, T> f) { }
|
||||
}
|
||||
Reference in New Issue
Block a user