You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/03/21 06:56:14 UTC

[4/4] ignite git commit: IGNITE-2806: Minors.

IGNITE-2806: Minors.


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

Branch: refs/heads/ignite-2806
Commit: e22400d92ff5ded412ae3149fa03b128c3d137dd
Parents: b9ff6bf
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Mar 21 08:56:04 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Mar 21 08:56:04 2016 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/processors/igfs/IgfsPathIds.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e22400d9/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsPathIds.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsPathIds.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsPathIds.java
index 93b7317..446495e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsPathIds.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsPathIds.java
@@ -279,8 +279,8 @@ public class IgfsPathIds {
      */
     public boolean verifyIntegrity(Map<IgniteUuid, IgfsEntryInfo> infos, boolean relaxed) {
         if (relaxed) {
-            // Relaxed mode ensures that last element is there and if it is not root - whether it's parent there
-            // and has link to child.
+            // Relaxed mode ensures that the last element is there. If this element is the last in the path, then
+            // existence of it's parent and link between them are checked as well.
             IgfsEntryInfo info = infos.get(ids[lastExistingIdx]);
 
             if (info == null)