From e2b8108500f15896dd97144624117e57aa3ca0fb Mon Sep 17 00:00:00 2001 From: tknall Date: Thu, 12 Apr 2007 18:07:07 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@65 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/pdf/Placeholder.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/Placeholder.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/Placeholder.java index b9c3306..62050d3 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/Placeholder.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/Placeholder.java @@ -286,6 +286,13 @@ public abstract class Placeholder text = text.replace("\\)", ")"); text = text.replace("\\(", "("); text = text.replace("\\\\", "\\"); + + // TODO: replace jdk1.5-code with jdf1.4-code (should be tested) + /* + text = text.replaceAll("\\\\\\)", ")"); + text = text.replaceAll("\\\\\\(", "("); + text = text.replaceAll("\\\\\\\\", "\\\\"); + */ return text; } -- cgit v1.2.3