diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/gv/util/client/szr/SZRClient.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/at/gv/util/client/szr/SZRClient.java b/src/main/java/at/gv/util/client/szr/SZRClient.java index fb0c2e1..32cef41 100644 --- a/src/main/java/at/gv/util/client/szr/SZRClient.java +++ b/src/main/java/at/gv/util/client/szr/SZRClient.java @@ -88,13 +88,13 @@ public class SZRClient { MiscUtil.assertNotNull(target, "target"); String targetPrefix = "urn:publicid:gv.at:cdid+"; String targetString = null; - if (target.length() == 2) { - targetString = targetPrefix + target; - } else if (!target.startsWith(targetPrefix)) { - throw new EgovUtilException("Target must start with " + targetPrefix); - } else { +// if (target.length() == 2) { +// targetString = targetPrefix + target; +// } else if (!target.startsWith(targetPrefix)) { +// throw new EgovUtilException("Target must start with " + targetPrefix); +// } else { targetString = target; - } +// } GetBPK req = new GetBPK(); req.setPersonInfo(personInfo); |