mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import java.util.function.Function;
|
||||
import java.util.stream.Collector;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
public class Bug
|
||||
class Bug
|
||||
{
|
||||
|
||||
void foo(Stream<Bug> words){
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import java.util.List;
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
|
||||
public class FooBar<K> {
|
||||
class FooBar<K> {
|
||||
void foo(List<K > s) {}
|
||||
<T, U> List<T> bar(BinaryOperator<U> kk, Function<T, U> f){
|
||||
return null;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public class Tmp {
|
||||
class Tmp {
|
||||
Integer toInt(Number num) {
|
||||
return null;
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public class Tmp
|
||||
class Tmp
|
||||
{
|
||||
interface BiFunction<T, U, R> {
|
||||
R apply(T t, U u);
|
||||
|
||||
Reference in New Issue
Block a user