ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [45/50] [abbrv] ignite git commit: minor
Date Mon, 05 Dec 2016 14:42:07 GMT
minor


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

Branch: refs/heads/ignite-comm-balance-master
Commit: 591d57bf6843b3c5c9e6e66f1d94cfd2ad28fcec
Parents: a13e1ce
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Mon Dec 5 18:42:03 2016 +0700
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Mon Dec 5 18:42:03 2016 +0700

----------------------------------------------------------------------
 .../managers/communication/IgniteIoTestMessage.java         | 6 ++++++
 .../java/org/apache/ignite/internal/util/IgniteUtils.java   | 4 ++--
 .../internal/util/nio/GridSelectorNioSessionImpl.java       | 3 +++
 .../datastructures/IgniteDataStructureUniqueNameTest.java   | 9 +--------
 4 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/591d57bf/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java
b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java
index 08bd110..0c20851 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java
@@ -100,10 +100,16 @@ public class IgniteIoTestMessage implements Message {
         return (flags & mask) != 0;
     }
 
+    /**
+     * @return {@code true} if this is request.
+     */
     public boolean request() {
         return req;
     }
 
+    /**
+     * @return ID.
+     */
     public long id() {
         return id;
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/591d57bf/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index e95fa18..dccebc4 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -504,8 +504,8 @@ public abstract class IgniteUtils {
     /** */
     private static final boolean assertionsEnabled;
 
-    /**
-     * Initializes enterprise check.
+    /*
+     *
      */
     static {
         boolean assertionsEnabled0 = true;

http://git-wip-us.apache.org/repos/asf/ignite/blob/591d57bf/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
index 85361bd..3781a01 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
@@ -129,6 +129,9 @@ class GridSelectorNioSessionImpl extends GridNioSessionImpl {
         }
     }
 
+    /**
+     * @return Worker.
+     */
     GridNioWorker worker() {
         return worker;
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/591d57bf/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
index 058f280..a8e0095 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
@@ -356,14 +356,7 @@ public class IgniteDataStructureUniqueNameTest extends IgniteCollectionAbstractT
             int createdCnt = 0;
 
             for (IgniteInternalFuture<Object> fut : futs) {
-                Object res;
-
-                try {
-                    res = fut.get();
-                }
-                catch (Throwable t) {
-                    res = t;
-                }
+                Object res = fut.get();
 
                 if (res instanceof IgniteException || res instanceof IgniteCheckedException)
                     continue;


Mime
View raw message