Updated Branches:
  refs/heads/master 4df066201 -> e2bc15713

ACCUMULO-1685 noticed a double-slash in computed file names


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e2bc1571
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e2bc1571
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e2bc1571

Branch: refs/heads/master
Commit: e2bc157134878dcbf74c7a1f075219b07705bf2d
Parents: 4df0662
Author: Eric Newton <[email protected]>
Authored: Wed Sep 11 08:49:53 2013 -0400
Committer: Eric Newton <[email protected]>
Committed: Wed Sep 11 08:49:53 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/server/util/MetadataTableUtil.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/e2bc1571/server/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java
----------------------------------------------------------------------
diff --git 
a/server/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java 
b/server/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java
index 8894ca7..9c6ba60 100644
--- 
a/server/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java
+++ 
b/server/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java
@@ -495,7 +495,7 @@ public class MetadataTableUtil {
       if (pathToRemove.startsWith("../"))
         pathToRemove = pathToRemove.substring(2);
       else
-        pathToRemove = "/" + tableId + "/" + pathToRemove;
+        pathToRemove = "/" + tableId + pathToRemove;
     }
     
     Path path = 
VolumeManagerImpl.get().getFullPath(ServerConstants.getTablesDirs(), 
pathToRemove);

Reply via email to