aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-13 12:59:32 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-13 12:59:32 +0000
commit475b86147f5fe95327484f6e4daac75487995201 (patch)
tree7597fe71d12c25e911fcd069355f2519c4cb3054 /src/main/java/at/knowcenter
parentb66d68d7f93c4a92f1b614ce9913368b97dd8423 (diff)
downloadpdf-as-3-475b86147f5fe95327484f6e4daac75487995201.tar.gz
pdf-as-3-475b86147f5fe95327484f6e4daac75487995201.tar.bz2
pdf-as-3-475b86147f5fe95327484f6e4daac75487995201.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@406 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
index f898617..a036772 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java
@@ -460,6 +460,9 @@ public class AbsoluteTextSignature
FoundKey found_key = (FoundKey) found_keys.get(i);
int reverse_found_index = text.indexOf(found_key.caption, search_from_index);
+
+ // dferbas fix #331 ??
+
if (reverse_found_index < 0)
{
throw new RuntimeException("The caption " + found_key.caption + " wasn't found in the text during reverse checking - there is something wrong.");