diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-03-15 17:04:57 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-03-15 17:04:57 +0000 |
| commit | ad1276e874b9fcad739bddf074467ff7acc31ede (patch) | |
| tree | 42c069ec921079f90b24f3bcec6a637541f72c06 /java/common/src/main | |
| parent | a537010f4dc49fbcb05820eefa132c879f96b7ba (diff) | |
| download | qpid-python-ad1276e874b9fcad739bddf074467ff7acc31ede.tar.gz | |
QPID-3142: enable tests to run against a copy of an existing work directory
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/src/main')
| -rw-r--r-- | java/common/src/main/java/org/apache/qpid/util/FileUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/util/FileUtils.java b/java/common/src/main/java/org/apache/qpid/util/FileUtils.java index 516204fbd3..1a57af9bf7 100644 --- a/java/common/src/main/java/org/apache/qpid/util/FileUtils.java +++ b/java/common/src/main/java/org/apache/qpid/util/FileUtils.java @@ -339,7 +339,7 @@ public class FileUtils } //else we have a source directory - if (!dst.isDirectory() && !dst.mkdir()) + if (!dst.isDirectory() && !dst.mkdirs()) { throw new UnableToCopyException("Unable to create destination directory"); } |
