From 3242c42f8a84ac3715a4e5c3c6a3b7982501b3a4 Mon Sep 17 00:00:00 2001 From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:28:29 +0200 Subject: [PATCH] Layout update --- .../Templates/SingleListenerJavaFile.template | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/net/JNetReflector/Templates/SingleListenerJavaFile.template b/src/net/JNetReflector/Templates/SingleListenerJavaFile.template index f82d2404bc..8bc57a8ecc 100644 --- a/src/net/JNetReflector/Templates/SingleListenerJavaFile.template +++ b/src/net/JNetReflector/Templates/SingleListenerJavaFile.template @@ -29,45 +29,45 @@ public final class ALLPACKAGE_CLASSES_STUB_SIMPLECLASS_PLACEHOLDER implements or _internalListener = new org.mases.jcobridge.JCListener(key); } - public synchronized void release() { - _internalListener.release(); - } - + public synchronized void release() { + _internalListener.release(); + } + public synchronized void raiseEvent(String eventName) { - _internalListener.raiseEvent(eventName); - } - - public synchronized void raiseEvent(String eventName, Object e) { - _internalListener.raiseEvent(eventName, e); - } - - public synchronized void raiseEvent(String eventName, Object e, Object... objects) { - _internalListener.raiseEvent(eventName, e, objects); - } - - public Object getEventData() { - return _internalListener.getEventData(); - } - - public boolean hasExtraData() { - return _internalListener.hasExtraData(); - } - + _internalListener.raiseEvent(eventName); + } + + public synchronized void raiseEvent(String eventName, Object e) { + _internalListener.raiseEvent(eventName, e); + } + + public synchronized void raiseEvent(String eventName, Object e, Object... objects) { + _internalListener.raiseEvent(eventName, e, objects); + } + + public Object getEventData() { + return _internalListener.getEventData(); + } + + public boolean hasExtraData() { + return _internalListener.hasExtraData(); + } + public int extraDataLength() { - return _internalListener.extraDataLength(); - } - - public Object[] extraData() { - return _internalListener.extraData(); - } - - public Object getReturnData() { - return _internalListener.getReturnData(); - } - - public void setReturnData(Object retData) { - _internalListener.setReturnData(retData); - } + return _internalListener.extraDataLength(); + } + + public Object[] extraData() { + return _internalListener.extraData(); + } + + public Object getReturnData() { + return _internalListener.getReturnData(); + } + + public void setReturnData(Object retData) { + _internalListener.setReturnData(retData); + } // ALLPACKAGE_CLASSES_STUB_LISTENER_METHODS_PLACEHOLDER } \ No newline at end of file