ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsetrak...@apache.org
Subject incubator-ignite git commit: # sprint-2 - removing @Nullable.
Date Thu, 05 Mar 2015 08:13:08 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-2 5d06523b3 -> e4d04761d


# sprint-2 - removing @Nullable.


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

Branch: refs/heads/sprint-2
Commit: e4d04761d1699f067def01a9ee8c2b7375f78418
Parents: 5d06523
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Thu Mar 5 00:13:05 2015 -0800
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Thu Mar 5 00:13:22 2015 -0800

----------------------------------------------------------------------
 .../org/apache/ignite/events/CacheEvent.java    | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4d04761/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java b/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
index a14539c..276981d 100644
--- a/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
+++ b/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
@@ -179,7 +179,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Cache name.
      */
-    @Nullable public String cacheName() {
+    public String cacheName() {
         return cacheName;
     }
 
@@ -206,7 +206,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Node which initiated cache operation or {@code null} if that node is not available.
      */
-    @Nullable public ClusterNode eventNode() {
+    public ClusterNode eventNode() {
         return evtNode;
     }
 
@@ -216,7 +216,7 @@ public class CacheEvent extends EventAdapter {
      * @return Cache entry associated with event.
      */
     @SuppressWarnings({"unchecked"})
-    @Nullable public <K> K key() {
+    public <K> K key() {
         return (K)key;
     }
 
@@ -226,7 +226,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return ID of surrounding cache transaction.
      */
-    @Nullable public IgniteUuid xid() {
+    public IgniteUuid xid() {
         return xid;
     }
 
@@ -235,7 +235,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return ID of the lock if held.
      */
-    @Nullable public Object lockId() {
+    public Object lockId() {
         return lockId;
     }
 
@@ -245,7 +245,7 @@ public class CacheEvent extends EventAdapter {
      * @return New value associated with event (<tt>null</tt> if event is
      *      {@link EventType#EVT_CACHE_OBJECT_REMOVED}.
      */
-    @Nullable public Object newValue() {
+    public Object newValue() {
         return newVal;
     }
 
@@ -254,7 +254,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Old value associated with event.
      */
-    @Nullable public Object oldValue() {
+    public Object oldValue() {
         return oldVal;
     }
 
@@ -290,7 +290,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Subject ID.
      */
-    @Nullable public UUID subjectId() {
+    public UUID subjectId() {
         return subjId;
     }
 
@@ -299,7 +299,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Closure class name.
      */
-    @Nullable public String closureClassName() {
+    public String closureClassName() {
         return cloClsName;
     }
 
@@ -308,7 +308,7 @@ public class CacheEvent extends EventAdapter {
      *
      * @return Task name.
      */
-    @Nullable public String taskName() {
+    public String taskName() {
         return taskName;
     }
 


Mime
View raw message