ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [13/27] incubator-ignite git commit: # ignite-630 review
Date Fri, 24 Jul 2015 11:57:34 GMT
# ignite-630 review


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

Branch: refs/heads/ignite-752
Commit: 9b993710956b75d72def6bfd1697307be718f6f1
Parents: db24c99
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Thu May 14 18:28:02 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Thu May 14 18:28:02 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/util/lang/GridMetadataAwareAdapter.java       | 3 +--
 .../internal/processors/cache/eviction/GridCacheMockEntry.java    | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9b993710/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
index 917dbcc..b28a4d9 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
@@ -74,7 +74,6 @@ public class GridMetadataAwareAdapter {
     private Object[] data = null;
 
     /** Serializable mutex. */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
     private GridMutex mux;
 
     /**
@@ -90,7 +89,7 @@ public class GridMetadataAwareAdapter {
      * @param from Metadata aware instance to copy metadata from.
      */
     public void copyMeta(GridMetadataAwareAdapter from) {
-        A.notNull(from, "from");
+        assert from != null;
 
         copyMeta(from.allMeta());
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9b993710/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheMockEntry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheMockEntry.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheMockEntry.java
index 7b3d92b..2342ad0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheMockEntry.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheMockEntry.java
@@ -24,7 +24,6 @@ import org.apache.ignite.internal.util.typedef.internal.*;
 import org.jetbrains.annotations.*;
 
 import javax.cache.*;
-import java.util.*;
 
 
 /**


Mime
View raw message