ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/13] incubator-ignite git commit: # IGNITE-26 Ignite.close() must not throw exception.
Date Tue, 16 Dec 2014 15:13:12 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-26 [created] 8bc850c2d


# IGNITE-26 Ignite.close() must not throw exception.


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

Branch: refs/heads/ignite-26
Commit: 3cbcf923d35ad399122b2ba95a2abc495bb2e239
Parents: 4a5a08e
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Mon Dec 15 12:57:16 2014 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Tue Dec 16 15:27:16 2014 +0300

----------------------------------------------------------------------
 modules/core/src/main/java/org/apache/ignite/Ignite.java         | 4 +---
 .../core/src/main/java/org/gridgain/grid/kernal/GridKernal.java  | 2 +-
 .../spring/src/main/java/org/gridgain/grid/GridSpringBean.java   | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3cbcf923/modules/core/src/main/java/org/apache/ignite/Ignite.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/Ignite.java b/modules/core/src/main/java/org/apache/ignite/Ignite.java
index fe033e7..1b6baf7 100644
--- a/modules/core/src/main/java/org/apache/ignite/Ignite.java
+++ b/modules/core/src/main/java/org/apache/ignite/Ignite.java
@@ -308,8 +308,6 @@ public interface Ignite extends AutoCloseable {
      * <p>
      * The method is invoked automatically on objects managed by the
      * {@code try-with-resources} statement.
-     *
-     * @throws IgniteCheckedException If failed to stop grid.
      */
-    @Override public void close() throws IgniteCheckedException;
+    @Override public void close();
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3cbcf923/modules/core/src/main/java/org/gridgain/grid/kernal/GridKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/GridKernal.java b/modules/core/src/main/java/org/gridgain/grid/kernal/GridKernal.java
index 62dc0d4..031641f 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/GridKernal.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/GridKernal.java
@@ -3204,7 +3204,7 @@ public class GridKernal extends ClusterGroupAdapter implements GridEx,
IgniteMBe
     }
 
     /** {@inheritDoc} */
-    @Override public void close() throws IgniteCheckedException {
+    @Override public void close() {
         Ignition.stop(gridName, true);
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3cbcf923/modules/spring/src/main/java/org/gridgain/grid/GridSpringBean.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/main/java/org/gridgain/grid/GridSpringBean.java b/modules/spring/src/main/java/org/gridgain/grid/GridSpringBean.java
index 49a9c72..79fa5fa 100644
--- a/modules/spring/src/main/java/org/gridgain/grid/GridSpringBean.java
+++ b/modules/spring/src/main/java/org/gridgain/grid/GridSpringBean.java
@@ -311,7 +311,7 @@ public class GridSpringBean extends GridMetadataAwareAdapter implements
Ignite,
     }
 
     /** {@inheritDoc} */
-    @Override public void close() throws IgniteCheckedException {
+    @Override public void close() {
         g.close();
     }
 


Mime
View raw message