mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
Upgrade to Java 8 with Retrolambda
This commit is contained in:
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
*/
|
||||
public class Potato implements Tuber {
|
||||
|
||||
private final List<Condiment> condiments = new ArrayList<Condiment>();
|
||||
private final List<Condiment> condiments = new ArrayList<>();
|
||||
|
||||
public static void main(String[] args) {
|
||||
final Potato potato = new Potato();
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package org.drtshock;
|
||||
|
||||
public interface Tuber {
|
||||
public boolean isDelicious();
|
||||
boolean isDelicious();
|
||||
|
||||
public Tuber propagate();
|
||||
Tuber propagate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user