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
@@ -1,4 +1,4 @@
|
||||
public class CyclicReferenceTest {
|
||||
class CyclicReferenceTest {
|
||||
void test(Match<String, Integer> match) {
|
||||
Match<String, Integer> matcher = match.or(s -> Optional.empty(), i -> 2);
|
||||
Match<String, Integer> matcher1 = match.or(s -> s.startsWith("_") ? Optional.of(1) : Optional.empty(), i -> 2);
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public class Main {
|
||||
class Main {
|
||||
|
||||
interface Function<T, U> {
|
||||
T fun(U t);
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import java.util.*;
|
||||
public class BugReportLambdaSquiggles<T> {
|
||||
class BugReportLambdaSquiggles<T> {
|
||||
|
||||
private T t;
|
||||
public <V> List<V> flatMap(Mapper<T, List<V>> mapper) {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import java.util.*;
|
||||
public class Main1 {
|
||||
class Main1 {
|
||||
|
||||
interface I<T> {
|
||||
List<T> f();
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public class FooBar {
|
||||
class FooBar {
|
||||
private static final class Bar2 {
|
||||
private Bar2() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user