ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [10/19] ignite git commit: Cleanup
Date Tue, 08 Dec 2015 13:17:48 GMT
Cleanup


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

Branch: refs/heads/ignite-1694
Commit: 4b4eefdb87f70db72115baaef662167b305dbf7a
Parents: 8a6f448
Author: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Authored: Wed Nov 11 18:33:35 2015 +0300
Committer: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Committed: Wed Nov 11 18:33:35 2015 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs         | 2 ++
 .../dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs    | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4b4eefdb/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs
index b01f210..af473e4 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/IgniteJni.cs
@@ -18,10 +18,12 @@
 namespace Apache.Ignite.Core.Impl.Unmanaged
 {
     using System.Runtime.InteropServices;
+    using System.Security;
 
     /// <summary>
     /// Ignite JNI methods.
     /// </summary>
+    [SuppressUnmanagedCodeSecurity]
     internal unsafe static class IgniteJni
     {
         [DllImport(IgniteUtils.FileIgniteJniDll, EntryPoint = "IgniteReallocate", SetLastError
= true,

http://git-wip-us.apache.org/repos/asf/ignite/blob/4b4eefdb/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
index 288dc30..ca06ef0 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
@@ -20,7 +20,6 @@ namespace Apache.Ignite.Core.Impl.Unmanaged
     using System;
     using System.Diagnostics.CodeAnalysis;
     using System.Runtime.InteropServices;
-    using System.Security;
     using Apache.Ignite.Core.Common;
 
     using JNI = IgniteJni;
@@ -28,7 +27,6 @@ namespace Apache.Ignite.Core.Impl.Unmanaged
     /// <summary>
     /// Unmanaged utility classes.
     /// </summary>
-    [SuppressUnmanagedCodeSecurity]
     internal static unsafe class UnmanagedUtils
     {
         /** Interop factory ID for .Net. */
@@ -38,7 +36,6 @@ namespace Apache.Ignite.Core.Impl.Unmanaged
         /// Initializer.
         /// </summary>
         [SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
-        [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline")]
         static UnmanagedUtils()
         {
             var path = IgniteUtils.UnpackEmbeddedResource(IgniteUtils.FileIgniteJniDll);


Mime
View raw message