ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptupit...@apache.org
Subject ignite git commit: .NET: Fix R# code analysis warnings
Date Thu, 16 Jun 2016 15:14:52 GMT
Repository: ignite
Updated Branches:
  refs/heads/master c202d92be -> 6bd565075


.NET: Fix R# code analysis warnings


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

Branch: refs/heads/master
Commit: 6bd5650750e373f58eb6cb353a95c0af9e0397c2
Parents: c202d92
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Thu Jun 16 18:14:42 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Thu Jun 16 18:14:42 2016 +0300

----------------------------------------------------------------------
 .../platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/6bd56507/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs
index 0d6e0be..3518bc8 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryUtils.cs
@@ -667,6 +667,7 @@ namespace Apache.Ignite.Core.Impl.Binary
         /// <param name="enc">Encoding.</param>
         /// <param name="data">Data.</param>
         /// <returns>Amount of bytes written.</returns>
+        [SuppressMessage("ReSharper", "TooWideLocalVariableScope", Justification = "Keep
code identical to Java part.")]
         public static unsafe int StringToUtf8Bytes(char* chars, int charCnt, int byteCnt,
Encoding enc, byte* data)
         {
             if (!UseStringSerializationVer2)
@@ -731,6 +732,7 @@ namespace Apache.Ignite.Core.Impl.Binary
         /// </summary>
         /// <param name="arr">The bytes.</param>
         /// <returns>Resulting string.</returns>
+        [SuppressMessage("ReSharper", "TooWideLocalVariableScope", Justification = "Keep
code identical to Java part.")]
         public static string Utf8BytesToString(byte[] arr)
         {
             if (!UseStringSerializationVer2)


Mime
View raw message