From fd45a7090178e053388bab29ff60c48f32d72ac1 Mon Sep 17 00:00:00 2001 From: tknall Date: Tue, 29 Sep 2009 08:37:52 +0000 Subject: Bug concerning text matching algorithm fixed. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@341 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java | 2 +- .../java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/knowcenter') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java index cf6c9bf..95099ca 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java @@ -96,7 +96,7 @@ public abstract class PdfAS * The current version of the pdf-as library. This version string is logged on every invocation * of the api or the web application. */ - public static final String PDFAS_VERSION = "3.0.9-20090622"; + public static final String PDFAS_VERSION = "3.0.9-20090929"; /** * The key of the strict mode setting. 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 318701a..f898617 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 @@ -802,7 +802,7 @@ public class AbsoluteTextSignature { // determine the size of the largest block(s) int largest_size = Integer.MIN_VALUE; - for (int i = 1; i < found_blocks.size(); i++) + for (int i = 0; i < found_blocks.size(); i++) { FoundBlock fb = (FoundBlock) found_blocks.get(i); final int current_size = fb.found_keys.size(); -- cgit v1.2.3