aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-02-04 10:24:15 +0000
committerJeremias Maerki <jeremias@apache.org>2009-02-04 10:24:15 +0000
commit352c19ce869eb35cd939fabf80b530755f8ef766 (patch)
tree7b33f0386602f98c82a9c20b8e09c0ec298e7107
parent7da394c7c4497b72e0072c242c0d0b61e4317277 (diff)
downloadxmlgraphics-fop-352c19ce869eb35cd939fabf80b530755f8ef766.tar.gz
xmlgraphics-fop-352c19ce869eb35cd939fabf80b530755f8ef766.zip
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
-rw-r--r--test/java/org/apache/fop/AbstractFOPTestCase.java3
1 files changed, 2 insertions, 1 deletions
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(".");