From f746f1339c7c58525f0e0a0d50d598e4d8b34753 Mon Sep 17 00:00:00 2001 From: baseplate-admin <61817579+baseplate-admin@users.noreply.github.com> Date: Sun, 29 Oct 2023 21:01:47 +0600 Subject: [PATCH] Cleanup some Java code in `NativeInvocationHandler.java` (#691) --- jnius/src/org/jnius/NativeInvocationHandler.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jnius/src/org/jnius/NativeInvocationHandler.java b/jnius/src/org/jnius/NativeInvocationHandler.java index 03d9bad7..41d6f427 100644 --- a/jnius/src/org/jnius/NativeInvocationHandler.java +++ b/jnius/src/org/jnius/NativeInvocationHandler.java @@ -12,13 +12,11 @@ public NativeInvocationHandler(long ptr) { public Object invoke(Object proxy, Method method, Object[] args) { if ( DEBUG ) { - System.out.print("+ java:invoke(, "); // don't call it, or recursive lookup/proxy will go! //System.out.print(proxy); //System.out.print(", "); - System.out.print(method); - System.out.print(", "); - System.out.print(args); + String message = "+ java:invoke(, " + method + ", " + args; + System.out.print(message); System.out.println(")"); System.out.flush(); }