From 786efa8279c760d4111f3d1e9e8781ad2702c480 Mon Sep 17 00:00:00 2001 From: lizhi Date: Fri, 17 Dec 2021 16:50:00 +0800 Subject: [PATCH] add and change function --- src/main/java/org/bdware/sc/engine/DesktopEngine.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/bdware/sc/engine/DesktopEngine.java b/src/main/java/org/bdware/sc/engine/DesktopEngine.java index ed837e7..c0279dd 100644 --- a/src/main/java/org/bdware/sc/engine/DesktopEngine.java +++ b/src/main/java/org/bdware/sc/engine/DesktopEngine.java @@ -228,7 +228,6 @@ public class DesktopEngine extends JSEngine { public Object invokeFunction(String functionName, Object... args) { Invocable cal = engine; - try { return cal.invokeFunction(functionName, args); } catch (ScriptException e) { @@ -236,7 +235,6 @@ public class DesktopEngine extends JSEngine { } catch (NoSuchMethodException e) { e.printStackTrace(); } - return null; }