From 87064f8c7d45dd48385c0068dd6165eb5871cac3 Mon Sep 17 00:00:00 2001 From: Etienne Zink Date: Fri, 25 Mar 2022 10:10:03 +0100 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20von=20OLFun.jav=20zum=20origina?= =?UTF-8?q?len=20Sourcecode.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/bytecode/OLFunTest.java | 2 -- src/test/resources/bytecode/javFiles/OLFun.jav | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/java/bytecode/OLFunTest.java b/src/test/java/bytecode/OLFunTest.java index d76b73a6..6578b3e0 100644 --- a/src/test/java/bytecode/OLFunTest.java +++ b/src/test/java/bytecode/OLFunTest.java @@ -1,11 +1,9 @@ package bytecode; import java.io.File; -import java.lang.invoke.*; import java.lang.reflect.Method; import java.net.URL; import java.net.URLClassLoader; -import java.util.function.Function; import general.TestCleanUp; import org.junit.*; diff --git a/src/test/resources/bytecode/javFiles/OLFun.jav b/src/test/resources/bytecode/javFiles/OLFun.jav index 379b82c5..dd55d886 100644 --- a/src/test/resources/bytecode/javFiles/OLFun.jav +++ b/src/test/resources/bytecode/javFiles/OLFun.jav @@ -10,8 +10,7 @@ import java.lang.Boolean; public class OLFun { //f = x -> {return x + x;}; - y; m(f, x) { - y = f.apply(x+x); + x = f.apply(x+x); } } \ No newline at end of file