Apply the change from Develar: cleanup - specify UTF_8 charset explicitly

GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
This commit is contained in:
Leonid Bushuev
2019-04-29 18:45:24 +03:00
committed by intellij-monorepo-bot
parent 422480a2a1
commit 34be4bbf7d
1362 changed files with 14144 additions and 17961 deletions

View File

@@ -1,14 +0,0 @@
interface A {
void enableInspections(B... providers);
void enableInspections(Runnable r, String... inspections);
}
interface B {
Class[] get();
}
class C {
void foo(A a) {
a.enableInspections(() -> new Class[]{});
}
}

View File

@@ -1,33 +0,0 @@
import java.util.function.Function;
class Main {
void m(B b) {
Function<A<String>, String> f1 = A<String>::getName;
Function<A<String>, String> f10 = A::getName;
Function<B, String> f2 = B::getName;
Function<B, String> f3 = b::<error descr="Cannot resolve method 'getName'">getName</error>;
}
}
interface I {
String getName();
static String getName(final I i) {
return null;
}
}
class A<T> implements I {
@Override
public String getName() {
return null;
}
}
class B implements I {
@Override
public String getName() {
return null;
}
}