From 352c19ce869eb35cd939fabf80b530755f8ef766 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 4 Feb 2009 10:24:15 +0000 Subject: [PATCH] Uhm, one should actually do something with the return value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740673 13f79535-47bb-0310-9956-ffa450edef68 --- test/java/org/apache/fop/AbstractFOPTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/java/org/apache/fop/AbstractFOPTestCase.java b/test/java/org/apache/fop/AbstractFOPTestCase.java index ce39d0404..6961ac6f3 100644 --- a/test/java/org/apache/fop/AbstractFOPTestCase.java +++ b/test/java/org/apache/fop/AbstractFOPTestCase.java @@ -42,7 +42,8 @@ public abstract class AbstractFOPTestCase extends TestCase { protected File getBaseDir() { String basedir = System.getProperty("basedir"); if (basedir != null) { - basedir.replaceAll("%20", " "); //Under Java 1.4 the path may contain spaces as %20 + //Under Java 1.4 the path may contain spaces as %20 + basedir = basedir.replaceAll("%20", " "); return new File(basedir); } else { return new File("."); -- 2.39.5