-
-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't define classes on default package
- Loading branch information
1 parent
70e05ac
commit 3680ff4
Showing
4 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
detekt-rules-style/src/test/resources/java/ObjectLiteralToLambda.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
detekt-rules-style/src/test/resources/java/com/example/fromjava/OnlyDefaultMethods.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.example.fromjava; | ||
|
||
interface OnlyDefaultMethods { | ||
default void foo() {} | ||
default void bar() {} | ||
default void baz() {} | ||
} |
8 changes: 8 additions & 0 deletions
8
detekt-rules-style/src/test/resources/java/com/example/fromjava/SamWithDefaultMethods.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.example.fromjava; | ||
|
||
@FunctionalInterface | ||
interface SamWithDefaultMethods { | ||
void foo(); | ||
default void bar() {} | ||
default void baz() {} | ||
} |