ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [6/6] ignite git commit: IGNITE-3887: IGFS: IgfsPath API cleanup.
Date Tue, 13 Sep 2016 12:45:31 GMT
IGNITE-3887: IGFS: IgfsPath API cleanup.


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

Branch: refs/heads/ignite-3887
Commit: 203d96956cd577e059e194dfb8b9e97d5cc2f631
Parents: f27d84b
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Tue Sep 13 15:44:58 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Tue Sep 13 15:44:58 2016 +0300

----------------------------------------------------------------------
 modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java    | 2 +-
 .../ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/203d9695/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java b/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
index 1e870c9..d01e1db 100644
--- a/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
+++ b/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
@@ -63,7 +63,7 @@ public final class IgfsPath implements Comparable<IgfsPath>, Externalizable,
Bin
     private String path;
 
     /** Root path. */
-    public static final IgfsPath ROOT = new IgfsPath();
+    public static final IgfsPath ROOT = new IgfsPath(SLASH);
 
     /**
      * Constructs default root path.

http://git-wip-us.apache.org/repos/asf/ignite/blob/203d9695/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java
index 3317837..57bc4f3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDualAbstractSelfTest.java
@@ -1519,7 +1519,7 @@ public abstract class IgfsDualAbstractSelfTest extends IgfsAbstractSelfTest
{
             IgfsFile f1 = null;
 
             for (IgfsFile fi : listing) {
-                if (F.eq(f1.path(), p)) {
+                if (F.eq(fi.path(), p)) {
                     f1 = fi;
 
                     break;


Mime
View raw message