aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-09-29 08:37:52 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-09-29 08:37:52 +0000
commitfd45a7090178e053388bab29ff60c48f32d72ac1 (patch)
treed1711e7a03a6131faf4c2ac76a8474baf7f35cf8 /src/main/java/at/knowcenter
parente591851879483d503bb36733d94e9ea90f804da0 (diff)
downloadpdf-as-3-fd45a7090178e053388bab29ff60c48f32d72ac1.tar.gz
pdf-as-3-fd45a7090178e053388bab29ff60c48f32d72ac1.tar.bz2
pdf-as-3-fd45a7090178e053388bab29ff60c48f32d72ac1.zip
Bug concerning text matching algorithm fixed.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@341 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java2
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/AbsoluteTextSignature.java2
2 files changed, 2 insertions, 2 deletions
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();