Upgrade to Java 8 with Retrolambda

This commit is contained in:
vemacs
2016-10-13 11:57:30 -04:00
parent 862099b76b
commit 3add51629e
3 changed files with 57 additions and 42 deletions

View File

@@ -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();