You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2015/11/25 17:12:44 UTC
svn commit: r1716461 -
/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java
Author: lquack
Date: Wed Nov 25 16:12:44 2015
New Revision: 1716461
URL: http://svn.apache.org/viewvc?rev=1716461&view=rev
Log:
QPID-6898: [Java Broker] Fix entering relative path without parents for Derby VHN and VH
Modified:
qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java
Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java?rev=1716461&r1=1716460&r2=1716461&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java (original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FileHelper.java Wed Nov 25 16:12:44 2015
@@ -133,7 +133,7 @@ public class FileHelper
public boolean isWritableDirectory(String path)
{
- File storePath = new File(path);
+ File storePath = new File(path).getAbsoluteFile();
if (storePath.exists())
{
if (!storePath.isDirectory())
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org