From 1177762340ebc0e7bee444ae2d7c119f697cbdbb Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed Date: Sat, 02 May 2020 15:54:14 +0000 Subject: [PATCH] Kleinere Anpassungen --- src/de/uhilger/transit/JavaServer.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/transit/JavaServer.java b/src/de/uhilger/transit/JavaServer.java index 14845d9..43a0f5f 100644 --- a/src/de/uhilger/transit/JavaServer.java +++ b/src/de/uhilger/transit/JavaServer.java @@ -125,7 +125,7 @@ Object resultat = null; if(methode != null) { Access access = methode.getAnnotation(Access.class); - if(access != null && access.type().equals(Access.Type.ALLOW)) { + if(access == null || access.type().equals(Access.Type.ALLOW)) { resultat = methode.invoke(o, parameterKonvertieren(methode, parameter, format)); Class returnType = methode.getReturnType(); /* -- Gitblit v1.9.3