Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0058D200B63 for ; Mon, 15 Aug 2016 09:38:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F34C3160ABC; Mon, 15 Aug 2016 07:38:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 579FC160ACF for ; Mon, 15 Aug 2016 09:38:32 +0200 (CEST) Received: (qmail 75098 invoked by uid 500); 15 Aug 2016 07:38:31 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 74698 invoked by uid 99); 15 Aug 2016 07:38:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2016 07:38:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3249EE0BAA; Mon, 15 Aug 2016 07:38:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.apache.org Date: Mon, 15 Aug 2016 07:38:53 -0000 Message-Id: In-Reply-To: <01c8173372f44577b2d8d38be7400993@git.apache.org> References: <01c8173372f44577b2d8d38be7400993@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/30] ignite git commit: Minors. archived-at: Mon, 15 Aug 2016 07:38:34 -0000 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 Authored: Mon Aug 15 10:05:25 2016 +0300 Committer: vozerov-gridgain 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} */