You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2015/03/05 10:07:00 UTC

[49/51] incubator-ignite git commit: # sprint-2 - removing @Nullable.

# 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/ignite-187
Commit: e4d04761d1699f067def01a9ee8c2b7375f78418
Parents: 5d06523
Author: Dmitiry Setrakyan <ds...@gridgain.com>
Authored: Thu Mar 5 00:13:05 2015 -0800
Committer: Dmitiry Setrakyan <ds...@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;
     }