From 6276651d5ad742b2a569ff322cafa0a9529b4b76 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Sat, 2 Apr 2022 10:36:41 +0200 Subject: style(szr): fix two code-style issues --- .../eidas/specific/modules/auth/eidas/v2/szr/SzrClient.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/szr/SzrClient.java b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/szr/SzrClient.java index e000a2e4..11ea2843 100644 --- a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/szr/SzrClient.java +++ b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/szr/SzrClient.java @@ -231,7 +231,7 @@ public class SzrClient { * @throws SzrCommunicationException In case of a SZR error */ public String getEncryptedStammzahl(final PersonInfoType personInfo, boolean insertErnp) - throws SzrCommunicationException{ + throws SzrCommunicationException { final String resp; try { resp = this.szr.getStammzahlEncrypted(personInfo, insertErnp); @@ -243,14 +243,9 @@ public class SzrClient { throw new SzrCommunicationException("ernb.01", new Object[]{"Stammzahl response empty"}); // TODO error handling } - return resp; - + return resp; } - - - - - + /** * Request a encrypted baseId from SRZ without insertErnp. * -- cgit v1.2.3