From: Jeremias Maerki Date: Wed, 4 Feb 2009 10:24:15 +0000 (+0000) Subject: Uhm, one should actually do something with the return value. X-Git-Tag: fop-1_0~327 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=352c19ce869eb35cd939fabf80b530755f8ef766;p=xmlgraphics-fop.git 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 --- 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(".");