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/08/15 07:38:53 UTC

[24/30] ignite git commit: Minors.

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 <vo...@gridgain.com>
Authored: Mon Aug 15 10:05:25 2016 +0300
Committer: vozerov-gridgain <vo...@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} */