ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [24/30] ignite git commit: Minors.
Date Mon, 15 Aug 2016 07:38:53 GMT
Minors.


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

Branch: refs/heads/ignite-1926
Commit: 36c53087b81451cfe56a5b93b5ceb3e4f0324ba4
Parents: 8194447
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Mon Aug 15 10:05:25 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Mon Aug 15 10:05:25 2016 +0300

----------------------------------------------------------------------
 .../apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/36c53087/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
index 770429a..b82ecfa 100644
--- a/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
+++ b/modules/hadoop/src/main/java/org/apache/ignite/hadoop/fs/LocalIgfsSecondaryFileSystem.java
@@ -64,7 +64,7 @@ import java.util.Map;
 public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem, LifecycleAware
{
     /** Default buffer size. */
     // TODO: IGNITE-3643.
-    public static final int DFLT_BUF_SIZE = 8 * 1024;
+    private static final int DFLT_BUF_SIZE = 8 * 1024;
 
     /** The default user name. It is used if no user context is set. */
     private String dfltUsrName = IgfsUtils.fixUserName(null);
@@ -75,9 +75,6 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem,
Li
     /** Path that will be added to each passed path. */
     private String workDir;
 
-    /** Buffer size. */
-    private int bufSize = DFLT_BUF_SIZE;
-
     /**
      * Default constructor.
      */
@@ -365,7 +362,7 @@ public class LocalIgfsSecondaryFileSystem implements IgfsSecondaryFileSystem,
Li
 
     /** {@inheritDoc} */
     @Override public OutputStream create(IgfsPath path, boolean overwrite) {
-        return create0(path, overwrite, bufSize);
+        return create0(path, overwrite, DFLT_BUF_SIZE);
     }
 
     /** {@inheritDoc} */


Mime
View raw message