From 1288df5ad44064c887cb7b65d2c3c4a838260514 Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Fri, 30 Nov 2012 16:15:57 +0000 Subject: [PATCH] fix for: https://issues.apache.org/jira/browse/AMQ-4171 use the getCanonicalPath() value to ensure valid pathnames being used on the platform. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415725 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/kahadb/disk/journal/DataFile.java | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/DataFile.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/DataFile.java index 007bda6083..e014b8ef76 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/DataFile.java +++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/journal/DataFile.java @@ -20,14 +20,14 @@ import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; -import org.apache.activemq.util.IOHelper; import org.apache.activemq.store.kahadb.disk.util.LinkedNode; import org.apache.activemq.store.kahadb.disk.util.SequenceSet; +import org.apache.activemq.util.IOHelper; /** * DataFile - * - * + * + * */ public class DataFile extends LinkedNode implements Comparable { @@ -41,7 +41,7 @@ public class DataFile extends LinkedNode implements Comparable implements Comparable implements Comparable implements Comparable