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 79BE5200CC5 for ; Tue, 11 Jul 2017 11:03:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 78731165711; Tue, 11 Jul 2017 09:03:03 +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 DB8B8165718 for ; Tue, 11 Jul 2017 11:03:01 +0200 (CEST) Received: (qmail 99714 invoked by uid 500); 11 Jul 2017 09:03:01 -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 99569 invoked by uid 99); 11 Jul 2017 09:03:01 -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; Tue, 11 Jul 2017 09:03:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DE949F5530; Tue, 11 Jul 2017 09:02:59 +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: Tue, 11 Jul 2017 09:03:23 -0000 Message-Id: <6925bde37d7246aea1cbf02212698242@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [25/49] ignite git commit: .NET: Remove unused import and redundant cast archived-at: Tue, 11 Jul 2017 09:03:03 -0000 .NET: Remove unused import and redundant cast Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cb5ae961 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cb5ae961 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cb5ae961 Branch: refs/heads/ignite-2.1 Commit: cb5ae9617af900e953e0f6f065adcd707d2b3830 Parents: 82e5f8a Author: Pavel Tupitsyn Authored: Fri Jul 7 20:15:47 2017 +0300 Committer: Pavel Tupitsyn Committed: Fri Jul 7 20:15:47 2017 +0300 ---------------------------------------------------------------------- .../Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/cb5ae961/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs index f5a5179..d08a191 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs @@ -27,7 +27,6 @@ namespace Apache.Ignite.Core.Cache.Configuration using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; - using Apache.Ignite.Core.Binary; using Apache.Ignite.Core.Cache; using Apache.Ignite.Core.Cache.Affinity; using Apache.Ignite.Core.Cache.Affinity.Rendezvous; @@ -242,7 +241,7 @@ namespace Apache.Ignite.Core.Cache.Configuration private void Read(BinaryReader reader) { // Make sure system marshaller is used. - Debug.Assert(((BinaryReader) reader).Marshaller == BinaryUtils.Marshaller); + Debug.Assert(reader.Marshaller == BinaryUtils.Marshaller); AtomicityMode = (CacheAtomicityMode) reader.ReadInt(); Backups = reader.ReadInt();