Skip to content

Commit

Permalink
Cleanup some Java code in NativeInvocationHandler.java (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin authored Oct 29, 2023
1 parent c144e96 commit f746f13
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jnius/src/org/jnius/NativeInvocationHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ public NativeInvocationHandler(long ptr) {

public Object invoke(Object proxy, Method method, Object[] args) {
if ( DEBUG ) {
System.out.print("+ java:invoke(<proxy>, ");
// 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(<proxy>, " + method + ", " + args;
System.out.print(message);
System.out.println(")");
System.out.flush();
}
Expand Down

0 comments on commit f746f13

Please sign in to comment.