Repository: ignite
Updated Branches:
  refs/heads/ignite-1567 11b77dd2a -> 0c18ad80c


IGNITE-1567: Fixing typo.


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

Branch: refs/heads/ignite-1567
Commit: 42058e438a077c37a05e6e28cbde2fb2ac202755
Parents: 11b77dd
Author: vozerov-gridgain <[email protected]>
Authored: Tue Sep 29 16:14:16 2015 +0300
Committer: vozerov-gridgain <[email protected]>
Committed: Tue Sep 29 16:14:16 2015 +0300

----------------------------------------------------------------------
 .../Impl/Portable/PortableSystemHandlers.cs           | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/42058e43/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableSystemHandlers.cs
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableSystemHandlers.cs
 
b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableSystemHandlers.cs
index 81d3ade..e994e28 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableSystemHandlers.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Portable/PortableSystemHandlers.cs
@@ -47,7 +47,7 @@ namespace Apache.Ignite.Core.Impl.Portable
     internal static class PortableSystemHandlers
     {
         /** Write handlers. */
-        private static volatile Dictionary<Type, PortableSystemWriteDelegate> 
_writeHandlers2 =
+        private static volatile Dictionary<Type, PortableSystemWriteDelegate> 
_writeHandlers =
             new Dictionary<Type, PortableSystemWriteDelegate>();
 
         /** Mutex for write handlers update. */
@@ -160,7 +160,7 @@ namespace Apache.Ignite.Core.Impl.Portable
         {
             PortableSystemWriteDelegate res;
 
-            var writeHandlers0 = _writeHandlers2;
+            var writeHandlers0 = _writeHandlers;
 
             // Have we ever met this type?
             if (writeHandlers0 != null && writeHandlers0.TryGetValue(type, out 
res))
@@ -277,23 +277,23 @@ namespace Apache.Ignite.Core.Impl.Portable
         {
             lock (WriteHandlersMux)
             {
-                if (_writeHandlers2 == null)
+                if (_writeHandlers == null)
                 {
                     Dictionary<Type, PortableSystemWriteDelegate> 
writeHandlers0 = 
                         new Dictionary<Type, PortableSystemWriteDelegate>();
 
                     writeHandlers0[type] = handler;
 
-                    _writeHandlers2 = writeHandlers0;
+                    _writeHandlers = writeHandlers0;
                 }
-                else if (!_writeHandlers2.ContainsKey(type))
+                else if (!_writeHandlers.ContainsKey(type))
                 {
                     Dictionary<Type, PortableSystemWriteDelegate> 
writeHandlers0 =
-                        new Dictionary<Type, 
PortableSystemWriteDelegate>(_writeHandlers2);
+                        new Dictionary<Type, 
PortableSystemWriteDelegate>(_writeHandlers);
 
                     writeHandlers0[type] = handler;
 
-                    _writeHandlers2 = writeHandlers0;
+                    _writeHandlers = writeHandlers0;
                 }
             }
         }

Reply via email to