ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/2] ignite git commit: IGNITE-1580: Removed unnecessary consts from bool parameters in Ignition. This closes #116.
Date Thu, 01 Oct 2015 11:45:13 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1282 abf5dd7ad -> a4342d9ff


IGNITE-1580: Removed unnecessary consts from bool parameters in Ignition. This closes #116.


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

Branch: refs/heads/ignite-1282
Commit: f0390a4db119b218ed616995e09947b05d49e9ed
Parents: b9256a1
Author: isapego <isapego@gridgain.com>
Authored: Thu Oct 1 14:45:17 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Oct 1 14:45:17 2015 +0300

----------------------------------------------------------------------
 .../platforms/cpp/core/include/ignite/ignition.h    |  12 ++++++------
 modules/platforms/cpp/core/src/ignition.cpp         |  12 ++++++------
 modules/platforms/cpp/project/vs/ignite.sln         |   6 ++++--
 .../dotnet/Apache.Ignite.Core/GlobalSuppressions.cs | Bin 0 -> 1908 bytes
 4 files changed, 16 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f0390a4d/modules/platforms/cpp/core/include/ignite/ignition.h
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/core/include/ignite/ignition.h b/modules/platforms/cpp/core/include/ignite/ignition.h
index 8d32448..b45681d 100644
--- a/modules/platforms/cpp/core/include/ignite/ignition.h
+++ b/modules/platforms/cpp/core/include/ignite/ignition.h
@@ -145,7 +145,7 @@ namespace ignite
          * @param cancel Cancel flag.
          * @return True if default Ignite instance was stopped by this call.
          */
-        static bool Stop(const bool cancel);
+        static bool Stop(bool cancel);
 
         /**
          * Stop default Ignite instance.
@@ -154,7 +154,7 @@ namespace ignite
          * @param err Error.
          * @return True if Ignite instance was stopped by this call.
          */
-        static bool Stop(const bool cancel, IgniteError* err);
+        static bool Stop(bool cancel, IgniteError* err);
 
         /**
          * Stop Ignite instance with the given name.
@@ -163,7 +163,7 @@ namespace ignite
          * @param cancel Cancel flag.
          * @return True if Ignite instance was stopped by this call.
          */
-        static bool Stop(const char* name, const bool cancel);
+        static bool Stop(const char* name, bool cancel);
 
         /**
          * Stop Ignite instance with the given name.
@@ -173,14 +173,14 @@ namespace ignite
          * @param err Error.
          * @return True if Ignite instance was stopped by this call.
          */
-        static bool Stop(const char* name, const bool cancel, IgniteError* err);
+        static bool Stop(const char* name, bool cancel, IgniteError* err);
 
         /**
          * Stop all running Ignite instances.
          *
          * @param cancel Cancel flag.
          */
-        static void StopAll(const bool cancel);
+        static void StopAll(bool cancel);
 
         /**
          * Stop all running Ignite instances.
@@ -188,7 +188,7 @@ namespace ignite
          * @param cancel Cancel flag.
          * @param err Error.
          */
-        static void StopAll(const bool cancel, IgniteError* err);
+        static void StopAll(bool cancel, IgniteError* err);
     };    
 }
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0390a4d/modules/platforms/cpp/core/src/ignition.cpp
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/core/src/ignition.cpp b/modules/platforms/cpp/core/src/ignition.cpp
index d55e2d8..c69789f 100644
--- a/modules/platforms/cpp/core/src/ignition.cpp
+++ b/modules/platforms/cpp/core/src/ignition.cpp
@@ -379,17 +379,17 @@ namespace ignite
         return res;
     }
 
-    bool Ignition::Stop(const bool cancel)
+    bool Ignition::Stop(bool cancel)
     {
         return Stop(NULL, cancel);
     }
 
-    bool Ignition::Stop(const bool cancel, IgniteError* err)
+    bool Ignition::Stop(bool cancel, IgniteError* err)
     {
         return Stop(NULL, cancel, err);
     }
 
-    bool Ignition::Stop(const char* name, const bool cancel)
+    bool Ignition::Stop(const char* name, bool cancel)
     {
         IgniteError err;
 
@@ -400,7 +400,7 @@ namespace ignite
         return res;
     }
 
-    bool Ignition::Stop(const char* name, const bool cancel, IgniteError* err)
+    bool Ignition::Stop(const char* name, bool cancel, IgniteError* err)
     {
         bool res = false;
 
@@ -434,7 +434,7 @@ namespace ignite
         return res;
     }
 
-    void Ignition::StopAll(const bool cancel)
+    void Ignition::StopAll(bool cancel)
     {
         IgniteError err;
 
@@ -443,7 +443,7 @@ namespace ignite
         IgniteError::ThrowIfNeeded(err);
     }
 
-    void Ignition::StopAll(const bool cancel, IgniteError* err)
+    void Ignition::StopAll(bool cancel, IgniteError* err)
     {
         factoryLock.Enter();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0390a4d/modules/platforms/cpp/project/vs/ignite.sln
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/project/vs/ignite.sln b/modules/platforms/cpp/project/vs/ignite.sln
index f34d8e5..4a2ec29 100644
--- a/modules/platforms/cpp/project/vs/ignite.sln
+++ b/modules/platforms/cpp/project/vs/ignite.sln
@@ -1,6 +1,8 @@
 
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "..\..\common\project\vs\common.vcxproj",
"{4F7E4917-4612-4B96-9838-025711ADE391}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "core", "..\..\core\project\vs\core.vcxproj",
"{E2DEA693-F2EA-43C2-A813-053378F6E4DB}"

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0390a4d/modules/platforms/dotnet/Apache.Ignite.Core/GlobalSuppressions.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/GlobalSuppressions.cs b/modules/platforms/dotnet/Apache.Ignite.Core/GlobalSuppressions.cs
new file mode 100644
index 0000000..9db869f
Binary files /dev/null and b/modules/platforms/dotnet/Apache.Ignite.Core/GlobalSuppressions.cs
differ


Mime
View raw message