From 920eea43ad1545781ef6d3b8f140137b374b6124 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Thu, 15 Jun 2017 02:57:49 +0200 Subject: [PATCH] Lambda Test angepasst --- test/javFiles/Lambda.jav | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/javFiles/Lambda.jav b/test/javFiles/Lambda.jav index b0b98cbc..378eb4d3 100644 --- a/test/javFiles/Lambda.jav +++ b/test/javFiles/Lambda.jav @@ -1,11 +1,7 @@ class Lambda{ methode(){ - String var; - return () -> (f) -> { - f.apply(this, var); - return var; - }; + return ((f) -> f); } } /*