-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raffi Khatchadourian
committed
Dec 18, 2015
1 parent
661cce9
commit 39fa911
Showing
8 changed files
with
79 additions
and
3 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
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
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
11 changes: 11 additions & 0 deletions
11
...ces/MigrateSkeletalImplementationToInterface/testDestinationFunctionalInterface/in/A.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,11 @@ | ||
package p; | ||
|
||
@FunctionalInterface | ||
interface I { | ||
void m(); | ||
} | ||
|
||
abstract class A implements I { | ||
public void m() { | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...lementationToInterface/testDestinationFunctionalInterfaceWithNonAbstractMethods/in/A.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,12 @@ | ||
package p; | ||
|
||
@FunctionalInterface | ||
interface I { | ||
void m(); | ||
String toString(); | ||
} | ||
|
||
abstract class A implements I { | ||
public void m() { | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ementationToInterface/testDestinationFunctionalInterfaceWithNonAbstractMethods2/in/A.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,13 @@ | ||
package p; | ||
|
||
@FunctionalInterface | ||
interface I { | ||
void m(); | ||
default void n() { | ||
} | ||
} | ||
|
||
abstract class A implements I { | ||
public void m() { | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package p; | ||
|
||
interface I { | ||
void m(); | ||
} | ||
|
||
abstract class A implements I { | ||
void m() { | ||
public void m() { | ||
} | ||
} | ||
} |