diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-10-27 11:04:52 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-10-27 11:04:52 +0000 |
commit | ec73a69c7f87aa63564978b6a0579b589ccc429a (patch) | |
tree | d91caebe04430e16c6de8c030cc1c9dcc0cb1d56 /src/main/java/at/knowcenter/wag | |
parent | 43de9979eef1ea903e95b4a2911a9bf55f229ae3 (diff) | |
download | pdf-as-3-ec73a69c7f87aa63564978b6a0579b589ccc429a.tar.gz pdf-as-3-ec73a69c7f87aa63564978b6a0579b589ccc429a.tar.bz2 pdf-as-3-ec73a69c7f87aa63564978b6a0579b589ccc429a.zip |
improved pattern for bku version parsing (to allow snapshot versions)
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@358 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/BKUPostConnection.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/BKUPostConnection.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/BKUPostConnection.java index a1ebe31..1bd26c2 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/BKUPostConnection.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors/BKUPostConnection.java @@ -120,7 +120,8 @@ public abstract class BKUPostConnection {
// dummy bku header starts with Apache Coyote...
//Pattern pattern = Pattern.compile("^citizen-card-environment/(\\d+\\.\\d+) (.+)/(\\d+\\.\\d+\\.\\d+)$");
- Pattern pattern = Pattern.compile("^.*citizen-card-environment/(\\d+\\.\\d+) (.+)/(\\d+\\.\\d+\\.\\d+)$");
+ //Pattern pattern = Pattern.compile("^.*citizen-card-environment/(\\d+\\.\\d+) (.+)/(\\d+\\.\\d+\\.\\d+)$");
+ Pattern pattern = Pattern.compile("^.*citizen-card-environment/(\\d+\\.\\d+) (.+)/(\\d+\\.\\d+\\.\\d+)(.*)$");
Matcher m = pattern.matcher(header_value);
m.matches();
|