From 6efa030033fbfe481b7ac254d41f38ddc5b44865 Mon Sep 17 00:00:00 2001 From: knowcenter Date: Tue, 17 Jul 2007 06:53:33 +0000 Subject: Error in SigKZIDHelper resolved. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@128 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../java/at/knowcenter/wag/egov/egiz/sig/sigkz/SigKZIDHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/sig') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/sigkz/SigKZIDHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/sigkz/SigKZIDHelper.java index d50006a..7260063 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/sigkz/SigKZIDHelper.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/sigkz/SigKZIDHelper.java @@ -50,7 +50,9 @@ public final class SigKZIDHelper String [] ids = sig_id.split("@"); String prefix = ids[0]; - if (prefix.equals(DetachedLocRefMOAIdFormatter.SIG_ID_PREFIX)) + DetachedLocRefMOAIdFormatter moa_id_formater = new DetachedLocRefMOAIdFormatter(); + + if (prefix.equals(moa_id_formater.formatIds(null))) { return true; } -- cgit v1.2.3