ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [06/16] ignite git commit: WIP.
Date Tue, 15 Mar 2016 13:35:15 GMT
WIP.


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

Branch: refs/heads/ignite-2813
Commit: ffbe94d94b9a08dc67a34554157a8ac92e3f4fd5
Parents: 8af4f48
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Tue Mar 15 15:36:01 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Tue Mar 15 15:36:01 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/ffbe94d9/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
index b695e41..ff73201 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
@@ -3610,13 +3610,11 @@ public class IgfsMetaManager extends IgfsManager {
                                 throw new IgfsParentNotDirectoryException("Failed to " +
(append ? "open" : "create" )
                                     + " file (parent element is not a directory)");
 
-                            Map<String, IgfsListingEntry> parentListing = lowermostExistingInfo.listing();
+                            Map<String, IgniteUuid> parentListing = lowermostExistingInfo.listing2();
 
                             final String uppermostFileToBeCreatedName = b.components.get(b.existingIdCnt
- 1);
 
-                            final IgfsListingEntry entry = parentListing.get(uppermostFileToBeCreatedName);
-
-                            if (entry == null) {
+                            if (parentListing.get(uppermostFileToBeCreatedName) == null)
{
                                 b.doBuild();
 
                                 assert b.leafInfo != null;


Mime
View raw message