ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nizhi...@apache.org
Subject [04/12] ignite git commit: IGNITE-9312: Remove unnecessary @SuppressWarnings annotation - Fixes #4632.
Date Fri, 02 Nov 2018 09:35:00 GMT
http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManagerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManagerSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManagerSelfTest.java
index 0059c27..26177de 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManagerSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManagerSelfTest.java
@@ -131,7 +131,6 @@ public class IgfsMetaManagerSelfTest extends IgfsCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
-    @SuppressWarnings("NullableProblems")
     public void testUpdateProperties() throws Exception {
         assertEmpty(mgr.directoryListing(ROOT_ID));
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java
index 0720d55..cd3bacc 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsModesSelfTest.java
@@ -92,7 +92,6 @@ public class IgfsModesSelfTest extends IgfsCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
-    @SuppressWarnings("NullableProblems")
     private void startUp() throws Exception {
         startUpSecondary();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsProcessorValidationSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsProcessorValidationSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsProcessorValidationSelfTest.java
index 7484c59..ee7a36d 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsProcessorValidationSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsProcessorValidationSelfTest.java
@@ -163,7 +163,6 @@ public class IgfsProcessorValidationSelfTest extends IgfsCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("NullableProblems")
     public void testLocalNullIgfsNameIsNotSupported() throws Exception {
         try {
             g1IgfsCfg1.setName(null);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSecondaryFileSystemInjectionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSecondaryFileSystemInjectionSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSecondaryFileSystemInjectionSelfTest.java
index c476a76..c40be7d 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSecondaryFileSystemInjectionSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsSecondaryFileSystemInjectionSelfTest.java
@@ -93,7 +93,6 @@ public class IgfsSecondaryFileSystemInjectionSelfTest extends GridCommonAbstract
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"UnusedDeclaration"})
     public void testInjectPrimaryByField() throws Exception {
         secondary = new TestBaseSecondaryFsMock() {
             @FileSystemResource
@@ -120,7 +119,6 @@ public class IgfsSecondaryFileSystemInjectionSelfTest extends GridCommonAbstract
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"UnusedDeclaration"})
     public void testInjectPrimaryByMethods() throws Exception {
         secondary = new TestBaseSecondaryFsMock() {
             /** Ignite instance. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcConfigurationValidationSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcConfigurationValidationSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcConfigurationValidationSelfTest.java
index cabeb49..f7e9aca 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcConfigurationValidationSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcConfigurationValidationSelfTest.java
@@ -153,7 +153,6 @@ public class OdbcConfigurationValidationSelfTest extends GridCommonAbstractTest
      * @param odbcCfg ODBC configuration.
      * @param success Success flag. * @throws Exception If failed.
      */
-    @SuppressWarnings("ThrowableResultOfMethodCallIgnored")
     private void check(OdbcConfiguration odbcCfg, boolean success) throws Exception {
         final IgniteConfiguration cfg = super.getConfiguration();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcEscapeSequenceSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcEscapeSequenceSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcEscapeSequenceSelfTest.java
index c08c40c..6eed580 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcEscapeSequenceSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/odbc/OdbcEscapeSequenceSelfTest.java
@@ -894,7 +894,6 @@ public class OdbcEscapeSequenceSelfTest extends GridCommonAbstractTest {
      *
      * @param qry Query.
      */
-    @SuppressWarnings("ThrowableResultOfMethodCallIgnored")
     private void checkFail(final String qry) {
         GridTestUtils.assertThrows(null, new Callable<Void>() {
             @Override public Void call() throws Exception {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandlerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandlerSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandlerSelfTest.java
index c94ebd8..6f89915 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandlerSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandlerSelfTest.java
@@ -128,7 +128,6 @@ public class GridCacheCommandHandlerSelfTest extends GridCommonAbstractTest {
      *
      * @throws Exception In case of any exception.
      */
-    @SuppressWarnings("NullableProblems")
     public void testAppendPrepend() throws Exception {
         assertEquals("as" + "df", testAppend("as", "df", true));
         assertEquals("df" + "as", testAppend("as", "df", false));

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ClosureServiceClientsNodesTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ClosureServiceClientsNodesTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ClosureServiceClientsNodesTest.java
index edb0182..c3a3a1e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ClosureServiceClientsNodesTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ClosureServiceClientsNodesTest.java
@@ -75,7 +75,6 @@ public class ClosureServiceClientsNodesTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"ConstantConditions"})
     @Override protected void beforeTestsStarted() throws Exception {
         startGrids(NODES_CNT);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorAbstractSelfTest.java
index 8e8a2fe..79e2260 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorAbstractSelfTest.java
@@ -105,7 +105,6 @@ public abstract class GridServiceProcessorAbstractSelfTest extends GridCommonAbs
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ConstantConditions")
     @Override protected void beforeTestsStarted() throws Exception {
         assert nodeCount() >= 1;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceConfigVariationsFullApiTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceConfigVariationsFullApiTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceConfigVariationsFullApiTest.java
index 160014c..9ea0652 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceConfigVariationsFullApiTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceConfigVariationsFullApiTest.java
@@ -60,7 +60,6 @@ public class IgniteServiceConfigVariationsFullApiTest extends IgniteConfigVariat
     private static int cntr;
 
     /** Callable factories. */
-    @SuppressWarnings("unchecked")
     private static final Factory[] serviceFactories = new Factory[] {
         Parameters.factory(TestServiceImpl.class),
         Parameters.factory(TestServiceImplExternalizable.class),

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceProxyTimeoutInitializedTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceProxyTimeoutInitializedTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceProxyTimeoutInitializedTest.java
index 17e583d..6bf76f5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceProxyTimeoutInitializedTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/IgniteServiceProxyTimeoutInitializedTest.java
@@ -102,7 +102,7 @@ public class IgniteServiceProxyTimeoutInitializedTest extends GridCommonAbstract
      *
      * @throws Exception If fail.
      */
-    @SuppressWarnings({"Convert2Lambda", "ThrowableResultOfMethodCallIgnored"})
+    @SuppressWarnings({"Convert2Lambda"})
     public void testUnavailableService() throws Exception {
         srvc = new TestWaitServiceImpl();
 
@@ -142,7 +142,7 @@ public class IgniteServiceProxyTimeoutInitializedTest extends GridCommonAbstract
      *
      * @throws Exception If fail.
      */
-    @SuppressWarnings({"ThrowableResultOfMethodCallIgnored", "Convert2Lambda"})
+    @SuppressWarnings({"Convert2Lambda"})
     public void testServiceException() throws Exception {
         srvc = new HangServiceImpl();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserCreateIndexSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserCreateIndexSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserCreateIndexSelfTest.java
index 465e8d1..a3be018 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserCreateIndexSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserCreateIndexSelfTest.java
@@ -33,7 +33,7 @@ import static org.apache.ignite.internal.sql.SqlKeyword.PARALLEL;
 /**
  * Tests for SQL parser: CREATE INDEX.
  */
-@SuppressWarnings({"UnusedReturnValue", "ThrowableNotThrown"})
+@SuppressWarnings({"UnusedReturnValue"})
 public class SqlParserCreateIndexSelfTest extends SqlParserAbstractSelfTest {
     /** Default properties */
     private static final Map<String, Object> DEFAULT_PROPS = getProps(null, null);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserUserSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserUserSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserUserSelfTest.java
index d3296f7..2c240f4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserUserSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/sql/SqlParserUserSelfTest.java
@@ -24,7 +24,7 @@ import org.apache.ignite.internal.sql.command.SqlDropUserCommand;
 /**
  * Tests for SQL parser: CREATE INDEX.
  */
-@SuppressWarnings({"UnusedReturnValue", "ThrowableNotThrown"})
+@SuppressWarnings({"UnusedReturnValue"})
 public class SqlParserUserSelfTest extends SqlParserAbstractSelfTest {
     /**
      * Tests for CREATE USER command.

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
index ad678b6..5de12a2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
@@ -306,7 +306,6 @@ public class IgniteUtilsSelfTest extends GridCommonAbstractTest {
     /**
      * Test job to test possible indefinite recursion in detecting peer deploy aware.
      */
-    @SuppressWarnings({"UnusedDeclaration"})
     private class SelfReferencedJob extends ComputeJobAdapter implements GridPeerDeployAware {
         /** */
         private SelfReferencedJob ref;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/future/GridFutureQueueTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/future/GridFutureQueueTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/future/GridFutureQueueTest.java
index 4b6d81c..e68141b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/future/GridFutureQueueTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/future/GridFutureQueueTest.java
@@ -55,7 +55,6 @@ public class GridFutureQueueTest {
     /**
      *
      */
-    @SuppressWarnings("ExternalizableWithoutPublicNoArgConstructor")
     private static class Future<T> extends GridFutureAdapter<T> {
         /** */
         private Message msg;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java
index 3a06cf4..16adbd1 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java
@@ -55,7 +55,6 @@ public class IgniteFutureImplTest extends GridCommonAbstractTest {
     private ExecutorService customExec;
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ExternalizableWithoutPublicNoArgConstructor")
     @Override protected void beforeTest() throws Exception {
         ctxExec = createExecutor(CTX_THREAD_NAME);
         customExec = createExecutor(CUSTOM_THREAD_NAME);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/io/GridUnsafeDataOutputArraySizingSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/io/GridUnsafeDataOutputArraySizingSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/io/GridUnsafeDataOutputArraySizingSelfTest.java
index 7e59a6a..bfde5ac 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/io/GridUnsafeDataOutputArraySizingSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/io/GridUnsafeDataOutputArraySizingSelfTest.java
@@ -49,7 +49,6 @@ public class GridUnsafeDataOutputArraySizingSelfTest extends GridCommonAbstractT
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("BusyWait")
     public void testSmall() throws Exception {
         final GridUnsafeDataOutput out = new GridUnsafeDataOutput(512);
 
@@ -94,7 +93,6 @@ public class GridUnsafeDataOutputArraySizingSelfTest extends GridCommonAbstractT
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("BusyWait")
     public void testChanged2() throws Exception {
         final GridUnsafeDataOutput out = new GridUnsafeDataOutput(512);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpaceSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpaceSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpaceSelfTest.java
index a06d020..0bbbe3c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpaceSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpaceSelfTest.java
@@ -103,7 +103,7 @@ public class IpcSharedMemorySpaceSelfTest extends GridCommonAbstractTest {
 
         IgniteInternalFuture<?> fut2 = multithreadedAsync(
             new Callable<Object>() {
-                @SuppressWarnings({"TooBroadScope", "StatementWithEmptyBody"})
+                @SuppressWarnings({"TooBroadScope"})
                 @Override public Object call() throws Exception {
                     IpcSharedMemorySpace inSpace;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/util/offheap/GridOffHeapPartitionedMapAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/offheap/GridOffHeapPartitionedMapAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/offheap/GridOffHeapPartitionedMapAbstractSelfTest.java
index 9447970..d571318 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/offheap/GridOffHeapPartitionedMapAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/offheap/GridOffHeapPartitionedMapAbstractSelfTest.java
@@ -245,7 +245,6 @@ public abstract class GridOffHeapPartitionedMapAbstractSelfTest extends GridComm
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     public void testPutRandomKeys() throws Exception {
         map = newMap();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/jvmtest/QueueSizeCounterMultiThreadedTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/jvmtest/QueueSizeCounterMultiThreadedTest.java b/modules/core/src/test/java/org/apache/ignite/jvmtest/QueueSizeCounterMultiThreadedTest.java
index bf3557f..6e7be77 100644
--- a/modules/core/src/test/java/org/apache/ignite/jvmtest/QueueSizeCounterMultiThreadedTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/jvmtest/QueueSizeCounterMultiThreadedTest.java
@@ -36,7 +36,6 @@ public class QueueSizeCounterMultiThreadedTest extends TestCase {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"LockAcquiredButNotSafelyReleased"})
     public void testQueueSizeCounter() throws Exception {
         final ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<>();
 
@@ -50,7 +49,6 @@ public class QueueSizeCounterMultiThreadedTest extends TestCase {
 
         IgniteInternalFuture fut1 = GridTestUtils.runMultiThreadedAsync(
             new Callable<Object>() {
-                @SuppressWarnings( {"BusyWait"})
                 @Nullable @Override public Object call() throws Exception {
                     int cleanUps = 0;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/GridBasicPerformanceTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/GridBasicPerformanceTest.java b/modules/core/src/test/java/org/apache/ignite/lang/GridBasicPerformanceTest.java
index a9a5600..97b8d2a 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/GridBasicPerformanceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/GridBasicPerformanceTest.java
@@ -74,11 +74,9 @@ public class GridBasicPerformanceTest {
     private static final ReadWriteLock rwLock = new ReentrantReadWriteLock();
 
     /** Test variable. */
-    @SuppressWarnings({"UnusedDeclaration", "FieldAccessedSynchronizedAndUnsynchronized"})
     private static int n;
 
     /** Volatile variable. */
-    @SuppressWarnings({"FieldCanBeLocal", "UnusedDeclaration"})
     private static volatile int v;
 
     /** Atomic integer. */
@@ -935,7 +933,6 @@ public class GridBasicPerformanceTest {
     /**
      * Test unsafe vs. new.
      */
-    @SuppressWarnings("JavaDoc")
     private static void testUnsafe() throws InterruptedException {
         X.println("Testing unsafe...");
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/GridFuncPerformanceTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/GridFuncPerformanceTest.java b/modules/core/src/test/java/org/apache/ignite/lang/GridFuncPerformanceTest.java
index 5afd75f..b7c2262 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/GridFuncPerformanceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/GridFuncPerformanceTest.java
@@ -58,7 +58,6 @@ public class GridFuncPerformanceTest extends GridCommonAbstractTest {
      *
      * @return Duration of the test.
      */
-    @SuppressWarnings({"UnusedDeclaration"})
     private long testBody() {
         int MAX = 20000000;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConcurrentWeakHashSetSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConcurrentWeakHashSetSelfTest.java b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConcurrentWeakHashSetSelfTest.java
index 9a6d3ca..42a6a71 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConcurrentWeakHashSetSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConcurrentWeakHashSetSelfTest.java
@@ -288,7 +288,6 @@ public class GridConcurrentWeakHashSetSelfTest extends GridCommonAbstractTest {
         }.start();
 
         new Thread() {
-            @SuppressWarnings({"UnusedDeclaration"})
             @Override public void run() {
                 try {
                     start.await();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConsistentHashSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConsistentHashSelfTest.java b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConsistentHashSelfTest.java
index 98d7b98..c44d91b 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConsistentHashSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridConsistentHashSelfTest.java
@@ -36,7 +36,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  * Consistent hash test.
  */
-@SuppressWarnings({"AssertWithSideEffects"})
 @GridCommonTest(group = "Lang")
 public class GridConsistentHashSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapPerformanceTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapPerformanceTest.java b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapPerformanceTest.java
index 3528cb0..d9ff27c 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapPerformanceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapPerformanceTest.java
@@ -67,7 +67,7 @@ public class GridLeanMapPerformanceTest extends GridCommonAbstractTest {
      * @param map Map.
      * @throws Exception In case of error.
      */
-    @SuppressWarnings({"StatementWithEmptyBody", "UnusedDeclaration"})
+    @SuppressWarnings({"StatementWithEmptyBody"})
     private void iterate(Map<Integer, Integer> map) throws Exception {
         for (int i = 1; i <= ITER_CNT; i++) {
             // Iterate through entries.

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapSelfTest.java b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapSelfTest.java
index 2b49858..887d05a 100644
--- a/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/lang/utils/GridLeanMapSelfTest.java
@@ -102,7 +102,6 @@ public class GridLeanMapSelfTest extends GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"MismatchedQueryAndUpdateOfCollection"})
     public void testEmptyMap() throws Exception {
         Map<String, String> map = new GridLeanMap<>(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/GridCacheLoadPopulationTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/GridCacheLoadPopulationTask.java b/modules/core/src/test/java/org/apache/ignite/loadtests/GridCacheLoadPopulationTask.java
index 0ee8300..9644dc8 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/GridCacheLoadPopulationTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/GridCacheLoadPopulationTask.java
@@ -87,7 +87,6 @@ public class GridCacheLoadPopulationTask extends ComputeTaskSplitAdapter<Void, V
         }
 
         /** {@inheritDoc} */
-        @SuppressWarnings({"unchecked", "ConstantConditions"})
         @Override public Object execute() {
             Map<Object, TestValue> map = new TreeMap<>();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheAbstractLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheAbstractLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheAbstractLoadTest.java
index 8a94899..5e1725b 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheAbstractLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheAbstractLoadTest.java
@@ -335,7 +335,6 @@ abstract class GridCacheAbstractLoadTest {
      * @return Configuration.
      * @throws IgniteCheckedException If fails.
      */
-    @SuppressWarnings("unchecked")
     protected IgniteConfiguration configuration(String springCfgPath, String log) throws IgniteCheckedException {
         File path = GridTestUtils.resolveIgnitePath(springCfgPath);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheBenchmark.java b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheBenchmark.java
index 9aa7d5f..da864ff 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheBenchmark.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheBenchmark.java
@@ -57,7 +57,6 @@ public class GridCacheBenchmark {
      * @param args Arguments.
      * @throws Exception If failed.
      */
-    @SuppressWarnings("BusyWait")
     public static void main(String[] args) throws Exception {
         GridFileLock fileLock = GridLoadTestUtils.fileLock();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheWriteBehindStoreLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheWriteBehindStoreLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheWriteBehindStoreLoadTest.java
index c01d113..e4c4b25 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheWriteBehindStoreLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/cache/GridCacheWriteBehindStoreLoadTest.java
@@ -157,7 +157,6 @@ public class GridCacheWriteBehindStoreLoadTest extends GridCommonAbstractTest {
         long start = System.currentTimeMillis();
 
         IgniteInternalFuture<?> fut = multithreadedAsync(new Runnable() {
-            @SuppressWarnings({"NullableProblems"})
             @Override public void run() {
 
                 Random rnd = new Random();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark.java b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark.java
index 58e1aa1..0d1310a 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark.java
@@ -149,7 +149,6 @@ public class GridIoManagerBenchmark {
      * @param duration Test duration.
      * @param outputFilename Output file name.
      */
-    @SuppressWarnings("deprecation")
     private static void sendMessages(IgniteKernal g, int threads, int duration, @Nullable final String outputFilename) {
         X.println(">>> Sending messages.");
 
@@ -231,7 +230,6 @@ public class GridIoManagerBenchmark {
     /**
      * @param g Kernal.
      */
-    @SuppressWarnings("deprecation")
     private static void receiveMessages(final IgniteKernal g) {
         X.println(">>> Receiving messages.");
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark0.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark0.java b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark0.java
index 58fc166..68fff45 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark0.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridIoManagerBenchmark0.java
@@ -103,7 +103,6 @@ public class GridIoManagerBenchmark0 extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("deprecation")
     public void testThroughput() throws Exception {
         final IgniteKernal sndKernal = (IgniteKernal)grid(0);
         final IgniteKernal rcvKernal = (IgniteKernal)grid(1);
@@ -199,7 +198,6 @@ public class GridIoManagerBenchmark0 extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("deprecation")
     public void testLatency() throws Exception {
         final IgniteKernal sndKernal = (IgniteKernal)grid(0);
         final IgniteKernal rcvKernal = (IgniteKernal)grid(1);
@@ -295,7 +293,6 @@ public class GridIoManagerBenchmark0 extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("deprecation")
     public void testVariableLoad() throws Exception {
         final IgniteKernal sndKernal = (IgniteKernal)grid(0);
         final IgniteKernal rcvKernal = (IgniteKernal)grid(1);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridLoadTestJob.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridLoadTestJob.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridLoadTestJob.java
index f9eaa20..edf77dd 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridLoadTestJob.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridLoadTestJob.java
@@ -39,7 +39,6 @@ public class GridLoadTestJob extends ComputeJobAdapter {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("unchecked")
     @Override public Serializable execute() {
         Integer i = this.<Integer>argument(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsLoadTest.java
index 2d1aaa4..b6910b3 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsLoadTest.java
@@ -44,13 +44,11 @@ public class GridMultiSplitsLoadTest extends GridCommonAbstractTest {
 
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ConstantConditions")
     @Override public String getTestIgniteInstanceName() {
         return null;
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ConstantConditions")
     @Override protected IgniteConfiguration getConfiguration() throws Exception {
         IgniteConfiguration cfg = super.getConfiguration();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsRedeployLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsRedeployLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsRedeployLoadTest.java
index 0cb0895..46dc5bd 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsRedeployLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/multisplit/GridMultiSplitsRedeployLoadTest.java
@@ -42,7 +42,6 @@ public class GridMultiSplitsRedeployLoadTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ConstantConditions")
     @Override protected IgniteConfiguration getConfiguration() throws Exception {
         IgniteConfiguration cfg = super.getConfiguration();
 
@@ -140,7 +139,6 @@ public class GridMultiSplitsRedeployLoadTest extends GridCommonAbstractTest {
     /**
      * @param ignite Grid.
      */
-    @SuppressWarnings("unchecked")
     private void deployTask(Ignite ignite) {
         ignite.compute().localDeployTask(GridLoadTestTask.class, GridLoadTestTask.class.getClassLoader());
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/newnodes/GridSingleSplitsNewNodesAbstractLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/newnodes/GridSingleSplitsNewNodesAbstractLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/newnodes/GridSingleSplitsNewNodesAbstractLoadTest.java
index aac3c30..54d62c2 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/newnodes/GridSingleSplitsNewNodesAbstractLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/newnodes/GridSingleSplitsNewNodesAbstractLoadTest.java
@@ -42,7 +42,6 @@ public abstract class GridSingleSplitsNewNodesAbstractLoadTest extends GridCommo
     protected abstract DiscoverySpi getDiscoverySpi(IgniteConfiguration cfg);
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ConstantConditions")
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/session/GridSessionLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/session/GridSessionLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/session/GridSessionLoadTest.java
index d46158b..adc47cd 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/session/GridSessionLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/session/GridSessionLoadTest.java
@@ -59,7 +59,6 @@ public class GridSessionLoadTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     public void testSessionLoad() throws Exception {
         final Ignite ignite = G.ignite(getTestIgniteInstanceName());
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/direct/stealing/GridStealingLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/stealing/GridStealingLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/stealing/GridStealingLoadTest.java
index ace423a..cbc2ea0 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/direct/stealing/GridStealingLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/direct/stealing/GridStealingLoadTest.java
@@ -86,7 +86,6 @@ public class GridStealingLoadTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     public void testStealingLoad() throws Exception {
         final Ignite ignite = grid(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiClient.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiClient.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiClient.java
index 9662882..e736888 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiClient.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiClient.java
@@ -112,7 +112,6 @@ public class GridDsiClient implements Callable {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked", "InfiniteLoopStatement"})
     @Nullable @Override public Object call() throws Exception {
         IgniteCompute comp = g.compute(g.cluster().forPredicate(serverNode()));
 
@@ -322,7 +321,7 @@ public class GridDsiClient implements Callable {
                 }
 
                 collector = new Thread(new Runnable() {
-                    @SuppressWarnings({"BusyWait", "InfiniteLoopStatement"})
+                    @SuppressWarnings({"BusyWait"})
                     @Override public void run() {
                         long txPerSecond = -1;
                         long avgLatency = -1;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiLifecycleBean.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiLifecycleBean.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiLifecycleBean.java
index 6bea950..7401373 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiLifecycleBean.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiLifecycleBean.java
@@ -38,7 +38,6 @@ public class GridDsiLifecycleBean implements LifecycleBean {
     private Ignite ignite;
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     @SpringApplicationContextResource
     private ApplicationContext springCtx;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiRequest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiRequest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiRequest.java
index 6d9e28c..1d0a01a 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiRequest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiRequest.java
@@ -28,11 +28,10 @@ public class GridDsiRequest implements Serializable {
     private Long id;
 
     /** */
-    @SuppressWarnings({"UnusedDeclaration", "FieldCanBeLocal"})
+    @SuppressWarnings({"FieldCanBeLocal"})
     private long msgId;
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     private long txId;
 
     /**
@@ -66,7 +65,6 @@ public class GridDsiRequest implements Serializable {
         private Long key;
 
         /** */
-        @SuppressWarnings("UnusedDeclaration")
         @AffinityKeyMapped
         private String terminalId;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiResponse.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiResponse.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiResponse.java
index 4d954bd..bd96c6d 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiResponse.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiResponse.java
@@ -28,11 +28,9 @@ public class GridDsiResponse implements Serializable {
     private long id;
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     private long msgId;
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     private long transactionId;
 
     /**
@@ -60,7 +58,6 @@ public class GridDsiResponse implements Serializable {
         private Long key;
 
         /** */
-        @SuppressWarnings("UnusedDeclaration")
         @AffinityKeyMapped
         private String terminalId;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiSession.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiSession.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiSession.java
index 921f538..74a95f9 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiSession.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/GridDsiSession.java
@@ -57,7 +57,6 @@ public class GridDsiSession implements Serializable{
         private String key;
 
         /** */
-        @SuppressWarnings("UnusedDeclaration")
         @AffinityKeyMapped
         private String terminalId;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/cacheget/GridBenchmarkCacheGetLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/cacheget/GridBenchmarkCacheGetLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/cacheget/GridBenchmarkCacheGetLoadTest.java
index 05acd57..7efd55a 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/cacheget/GridBenchmarkCacheGetLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/dsi/cacheget/GridBenchmarkCacheGetLoadTest.java
@@ -77,7 +77,7 @@ public class GridBenchmarkCacheGetLoadTest {
      */
     public static void stats() {
         t = new Thread(new Runnable() {
-            @SuppressWarnings({"InfiniteLoopStatement", "BusyWait"})
+            @SuppressWarnings({"BusyWait"})
             @Override public void run() {
                 int interval = 5;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridBoundedConcurrentLinkedHashSetLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridBoundedConcurrentLinkedHashSetLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridBoundedConcurrentLinkedHashSetLoadTest.java
index 211857b..9a19f0e 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridBoundedConcurrentLinkedHashSetLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridBoundedConcurrentLinkedHashSetLoadTest.java
@@ -63,7 +63,7 @@ public class GridBoundedConcurrentLinkedHashSetLoadTest {
 
         // Thread that measures and outputs performance statistics.
         Thread collector = new Thread(new Runnable() {
-            @SuppressWarnings({"BusyWait", "InfiniteLoopStatement"})
+            @SuppressWarnings({"BusyWait"})
             @Override public void run() {
                 GridCumulativeAverage avgTasksPerSec = new GridCumulativeAverage();
 
@@ -92,7 +92,6 @@ public class GridBoundedConcurrentLinkedHashSetLoadTest {
 
         for (int i = 0; i < threadCnt; i++)
             producers.add(new Callable<Object>() {
-                @SuppressWarnings({"unchecked", "InfiniteLoopStatement"})
                 @Override public Object call() throws Exception {
                     UUID id = UUID.randomUUID();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridCacheTestContext.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridCacheTestContext.java b/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridCacheTestContext.java
index 4159f6e..8ac72f7 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridCacheTestContext.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/hashmap/GridCacheTestContext.java
@@ -60,7 +60,6 @@ public class GridCacheTestContext<K, V> extends GridCacheContext<K, V> {
      * @param ctx Context.
      * @throws Exception If failed.
      */
-    @SuppressWarnings("NullableProblems")
     public GridCacheTestContext(GridTestKernalContext ctx) throws Exception {
         super(
             ctx,

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClient.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClient.java b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClient.java
index c14bc53..2cf0582 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClient.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClient.java
@@ -56,7 +56,6 @@ public class GridJobExecutionLoadTestClient implements Callable<Object> {
     private static volatile boolean finish;
 
     /** {@inheritDoc} */
-    @SuppressWarnings("InfiniteLoopStatement")
     @Nullable @Override public Object call() throws Exception {
         IgniteCompute rmts = g.compute(g.cluster().forRemotes());
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClientSemaphore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClientSemaphore.java b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClientSemaphore.java
index 4168357..9799888 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClientSemaphore.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionLoadTestClientSemaphore.java
@@ -64,7 +64,6 @@ public class GridJobExecutionLoadTestClientSemaphore implements Callable<Object>
     private static Semaphore tasksSem;
 
     /** {@inheritDoc} */
-    @SuppressWarnings("InfiniteLoopStatement")
     @Nullable @Override public Object call() throws Exception {
         final IgniteInClosure<IgniteFuture<?>> lsnr = new CI1<IgniteFuture<?>>() {
             @Override public void apply(IgniteFuture<?> t) {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionSingleNodeLoadTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionSingleNodeLoadTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionSingleNodeLoadTest.java
index 5fbd5ca..f014a9d 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionSingleNodeLoadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/job/GridJobExecutionSingleNodeLoadTest.java
@@ -107,7 +107,6 @@ public class GridJobExecutionSingleNodeLoadTest {
 
                 for (int i = 0; i < threadCnt; i++)
                     producers.add(new Callable<Object>() {
-                        @SuppressWarnings({"unchecked", "InfiniteLoopStatement"})
                         @Override public Object call() throws Exception {
                             while (!finish.get()) {
                                 try {
@@ -129,7 +128,7 @@ public class GridJobExecutionSingleNodeLoadTest {
 
                 // Thread that measures and outputs performance statistics.
                 collector = new Thread(new Runnable() {
-                    @SuppressWarnings({"BusyWait", "InfiniteLoopStatement"})
+                    @SuppressWarnings({"BusyWait"})
                     @Override public void run() {
                         GridCumulativeAverage avgTasksPerSec = new GridCumulativeAverage();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/nio/GridNioBenchmarkTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/nio/GridNioBenchmarkTest.java b/modules/core/src/test/java/org/apache/ignite/loadtests/nio/GridNioBenchmarkTest.java
index 7fca432..0a1da15 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/nio/GridNioBenchmarkTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/nio/GridNioBenchmarkTest.java
@@ -57,7 +57,6 @@ public class GridNioBenchmarkTest {
      * @throws UnknownHostException If can't connect to given hist,
      * @throws IgniteCheckedException If NIO server initialisation failed.
      */
-    @SuppressWarnings("ConstantConditions")
     public void run() throws UnknownHostException, IgniteCheckedException {
         GridNioServerListener<ByteBuffer> lsnr = new GridNioServerListenerAdapter<ByteBuffer>() {
             @Override public void onConnected(GridNioSession ses) {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/loadtests/util/GridLoadTestArgs.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/util/GridLoadTestArgs.java b/modules/core/src/test/java/org/apache/ignite/loadtests/util/GridLoadTestArgs.java
index 6794065..aa2202d 100644
--- a/modules/core/src/test/java/org/apache/ignite/loadtests/util/GridLoadTestArgs.java
+++ b/modules/core/src/test/java/org/apache/ignite/loadtests/util/GridLoadTestArgs.java
@@ -120,7 +120,6 @@ public class GridLoadTestArgs {
      *         JVM property is {@code null} or default value if both
      *         are {@code null}.
      */
-    @SuppressWarnings("ConstantConditions")
     public static int getIntProperty(String name, int dflt) {
         Integer ret = getIntProperty0(name);
 
@@ -195,7 +194,6 @@ public class GridLoadTestArgs {
      *         JVM property is {@code null} or default value if both
      *         are {@code null}.
      */
-    @SuppressWarnings("ConstantConditions")
     public static long getLongProperty(String name, long dflt) {
         Long ret = getLongProperty(name);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/marshaller/jdk/GridJdkMarshallerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/marshaller/jdk/GridJdkMarshallerSelfTest.java b/modules/core/src/test/java/org/apache/ignite/marshaller/jdk/GridJdkMarshallerSelfTest.java
index 439bce5..d85bff8 100644
--- a/modules/core/src/test/java/org/apache/ignite/marshaller/jdk/GridJdkMarshallerSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/marshaller/jdk/GridJdkMarshallerSelfTest.java
@@ -24,7 +24,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  * JDK marshaller self test.
  */
-@SuppressWarnings({"JUnitTestCaseWithNoTests"})
 @GridCommonTest(group = "Marshaller")
 public class GridJdkMarshallerSelfTest extends GridMarshallerAbstractTest {
     /** {@inheritDoc} */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/messaging/GridMessagingSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/messaging/GridMessagingSelfTest.java b/modules/core/src/test/java/org/apache/ignite/messaging/GridMessagingSelfTest.java
index a7c4521..1b8aac6 100644
--- a/modules/core/src/test/java/org/apache/ignite/messaging/GridMessagingSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/messaging/GridMessagingSelfTest.java
@@ -795,7 +795,6 @@ public class GridMessagingSelfTest extends GridCommonAbstractTest implements Ser
 
         assertFalse(error.get());
 
-        //noinspection AssertEqualsBetweenInconvertibleTypes
         assertEquals(msgs, Arrays.asList(rcvMsgs.toArray()));
     }
 
@@ -988,7 +987,6 @@ public class GridMessagingSelfTest extends GridCommonAbstractTest implements Ser
      *
      * @throws Exception If failed.
      */
-    @SuppressWarnings("ConstantConditions")
     public void testNullMessages() throws Exception {
         assertThrows(log, new Callable<Object>() {
             @Override public Object call() throws Exception {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PClassLoadingSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PClassLoadingSelfTest.java b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PClassLoadingSelfTest.java
index 7b2333f..1e93587 100644
--- a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PClassLoadingSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PClassLoadingSelfTest.java
@@ -60,7 +60,7 @@ public class GridP2PClassLoadingSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"serial", "ConstantConditions"})
+    @SuppressWarnings({"ConstantConditions"})
     public void testClassLoading() throws Exception {
         ComputeTask<?, ?> task = (ComputeTask<?, ?>)tstClsLdr.loadClass(GridP2PTestTask.class.getName()).newInstance();
 
@@ -110,7 +110,6 @@ public class GridP2PClassLoadingSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @SuppressWarnings("unchecked")
         @Nullable @Override public <T> T attribute(String name) {
             return null;
         }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PDifferentClassLoaderSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PDifferentClassLoaderSelfTest.java b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PDifferentClassLoaderSelfTest.java
index 3af720f..bf32060 100644
--- a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PDifferentClassLoaderSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PDifferentClassLoaderSelfTest.java
@@ -81,7 +81,7 @@ public class GridP2PDifferentClassLoaderSelfTest extends GridCommonAbstractTest
      * @param expectEquals whether expected
      * @throws Exception if error occur
      */
-    @SuppressWarnings({"ObjectEquality", "unchecked"})
+    @SuppressWarnings({"unchecked"})
     private void processTest(boolean isSameTask, boolean expectEquals) throws Exception {
         try {
             Ignite ignite1 = startGrid(1);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PHotRedeploymentSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PHotRedeploymentSelfTest.java b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PHotRedeploymentSelfTest.java
index 620bf24..6b06d43 100644
--- a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PHotRedeploymentSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PHotRedeploymentSelfTest.java
@@ -28,7 +28,7 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"JUnitTestClassNamingConvention", "ProhibitedExceptionDeclared"})
+@SuppressWarnings({"ProhibitedExceptionDeclared"})
 @GridCommonTest(group = "P2P")
 public class GridP2PHotRedeploymentSelfTest extends GridCommonAbstractTest {
     /** Task name. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
index d5ecde9..a00fbdb 100644
--- a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
@@ -90,7 +90,7 @@ public class GridP2PMissedResourceCacheSizeSelfTest extends GridCommonAbstractTe
      * @param g2 Grid 2.
      * @param task Task to execute.
      */
-    @SuppressWarnings({"TypeMayBeWeakened", "unchecked"})
+    @SuppressWarnings({"unchecked"})
     private void executeFail(Ignite g1, Ignite g2, Class task) {
         try {
             g1.compute().execute(task, g2.cluster().localNode().id());

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
index 36c22e6..eb782ab 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
@@ -32,8 +32,8 @@ import java.util.UUID;
 /**
  * Test filter.
  */
-@SuppressWarnings({"FieldCanBeLocal", "FloatingPointEquality", "MismatchedReadAndWriteOfArray", "unused",
-    "SpellCheckingInspection"})
+@SuppressWarnings({"FieldCanBeLocal", "FloatingPointEquality", "MismatchedReadAndWriteOfArray", "unused"
+})
 public class PlatformCacheEntryEventFilter implements CacheEntryEventSerializableFilter {
     /** Property to be set from platform. */
     private String startsWith = "-";

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilterFactory.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilterFactory.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilterFactory.java
index 14f2931..ecf8971 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilterFactory.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilterFactory.java
@@ -32,7 +32,6 @@ import java.io.Serializable;
 public class PlatformCacheEntryEventFilterFactory implements Serializable,
     PlatformJavaObjectFactory<CacheEntryEventSerializableFilter> {
     /** Property to be set from platform. */
-    @SuppressWarnings("FieldCanBeLocal")
     private String startsWith = "-";
 
     /** Injected instance. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheWriteMetricsTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheWriteMetricsTask.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheWriteMetricsTask.java
index f4c1642..ee5a5c1 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheWriteMetricsTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheWriteMetricsTask.java
@@ -41,7 +41,6 @@ import java.util.Map;
 /**
  * Test task writing predefined metrics values to a stream.
  */
-@SuppressWarnings("UnusedDeclaration")
 public class PlatformCacheWriteMetricsTask extends ComputeTaskAdapter<Long, Object> {
     /** {@inheritDoc} */
     @Nullable @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, Long ptr) {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeBinarizableArgTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeBinarizableArgTask.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeBinarizableArgTask.java
index 3ae1dc3..404f6e5 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeBinarizableArgTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeBinarizableArgTask.java
@@ -48,7 +48,6 @@ public class PlatformComputeBinarizableArgTask extends ComputeTaskAdapter<Object
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ThrowableResultOfMethodCallIgnored")
     @Nullable @Override public Integer reduce(List<ComputeJobResult> results) {
         ComputeJobResult res = results.get(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeDecimalTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeDecimalTask.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeDecimalTask.java
index a14e481..6b048a3 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeDecimalTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformComputeDecimalTask.java
@@ -35,7 +35,7 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
-@SuppressWarnings({"ConstantConditions", "UnusedDeclaration"})
+@SuppressWarnings({"ConstantConditions"})
 public class PlatformComputeDecimalTask extends ComputeTaskAdapter<Object[], BigDecimal> {
     /** {@inheritDoc} */
     @Nullable @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Object[] arg) {
@@ -43,7 +43,6 @@ public class PlatformComputeDecimalTask extends ComputeTaskAdapter<Object[], Big
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ThrowableResultOfMethodCallIgnored")
     @Nullable @Override public BigDecimal reduce(List<ComputeJobResult> results) {
         ComputeJobResult res = results.get(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformDefaultJavaObjectFactorySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformDefaultJavaObjectFactorySelfTest.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformDefaultJavaObjectFactorySelfTest.java
index 45fda4f..ad935df 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformDefaultJavaObjectFactorySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformDefaultJavaObjectFactorySelfTest.java
@@ -33,7 +33,6 @@ import java.util.concurrent.Callable;
 /**
  * Dedicated tests for {@link PlatformDefaultJavaObjectFactory}.
  */
-@SuppressWarnings("ThrowableResultOfMethodCallIgnored")
 public class PlatformDefaultJavaObjectFactorySelfTest extends GridCommonAbstractTest {
     /** Name of the class. */
     private static final String CLS_NAME = TestJavaObject.class.getName();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java
index 05b7bd0..157b600 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformDeployServiceTask.java
@@ -60,7 +60,6 @@ public class PlatformDeployServiceTask extends ComputeTaskAdapter<String, Object
         private final String serviceName;
 
         /** Ignite. */
-        @SuppressWarnings("UnusedDeclaration")
         @IgniteInstanceResource
         private Ignite ignite;
 
@@ -85,7 +84,6 @@ public class PlatformDeployServiceTask extends ComputeTaskAdapter<String, Object
     /**
      * Test service.
      */
-    @SuppressWarnings("UnusedDeclaration")
     public static class PlatformTestService implements Service {
         /** */
         private boolean isCancelled;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformEventsWriteEventTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformEventsWriteEventTask.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformEventsWriteEventTask.java
index a0a33e2..2d3599b 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformEventsWriteEventTask.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformEventsWriteEventTask.java
@@ -43,7 +43,6 @@ import java.util.UUID;
 /**
  * Test task writing all events to a stream.
  */
-@SuppressWarnings("UnusedDeclaration")
 public class PlatformEventsWriteEventTask extends ComputeTaskAdapter<Long, Object> {
     /** {@inheritDoc} */
     @Nullable @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid,
@@ -59,7 +58,6 @@ public class PlatformEventsWriteEventTask extends ComputeTaskAdapter<Long, Objec
     /**
      * Job.
      */
-    @SuppressWarnings("deprecation")
     private static class Job extends ComputeJobAdapter {
         /** Grid. */
         @IgniteInstanceResource

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/platform/PlatformJavaObjectFactoryProxySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformJavaObjectFactoryProxySelfTest.java b/modules/core/src/test/java/org/apache/ignite/platform/PlatformJavaObjectFactoryProxySelfTest.java
index 832af7c..5153d49 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformJavaObjectFactoryProxySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformJavaObjectFactoryProxySelfTest.java
@@ -37,7 +37,6 @@ import java.util.concurrent.Callable;
 /**
  * Dedicated tests for {@link PlatformJavaObjectFactoryProxy}.
  */
-@SuppressWarnings("ThrowableResultOfMethodCallIgnored")
 public class PlatformJavaObjectFactoryProxySelfTest extends GridCommonAbstractTest {
     /** Name of the class. */
     private static final String CLS_NAME = TestJavaObject.class.getName();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/plugin/security/SecurityPermissionSetBuilderTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/plugin/security/SecurityPermissionSetBuilderTest.java b/modules/core/src/test/java/org/apache/ignite/plugin/security/SecurityPermissionSetBuilderTest.java
index 338034f..bf37ae5 100644
--- a/modules/core/src/test/java/org/apache/ignite/plugin/security/SecurityPermissionSetBuilderTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/plugin/security/SecurityPermissionSetBuilderTest.java
@@ -46,7 +46,7 @@ import static org.apache.ignite.testframework.GridTestUtils.assertThrows;
 public class SecurityPermissionSetBuilderTest extends GridCommonAbstractTest {
     /**
      */
-    @SuppressWarnings({"ThrowableNotThrown", "ArraysAsListWithZeroOrOneArgument"})
+    @SuppressWarnings({"ThrowableNotThrown"})
     public void testPermissionBuilder() {
         SecurityBasicPermissionSet exp = new SecurityBasicPermissionSet();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromFutureSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromFutureSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromFutureSelfTest.java
index 68a6771..21bd113 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromFutureSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromFutureSelfTest.java
@@ -49,7 +49,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  * Test of session siblings cancellation from future.
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionCancelSiblingsFromFutureSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromJobSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromJobSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromJobSelfTest.java
index ece2b57..b68081f 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromJobSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromJobSelfTest.java
@@ -53,7 +53,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  * Session cancellation tests.
  */
-@SuppressWarnings({"CatchGenericClass, PublicInnerClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionCancelSiblingsFromJobSelfTest extends GridCommonAbstractTest {
     /** */
@@ -219,7 +218,6 @@ public class GridSessionCancelSiblingsFromJobSelfTest extends GridCommonAbstract
                     private ComputeJobContext jobCtx;
 
                     /** {@inheritDoc} */
-                    @SuppressWarnings({"BusyWait"})
                     @Override public Object execute() {
                         assert taskSes != null;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromTaskSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromTaskSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromTaskSelfTest.java
index 19fab41..b3cf556 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromTaskSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionCancelSiblingsFromTaskSelfTest.java
@@ -51,7 +51,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  * Session cancellation tests.
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionCancelSiblingsFromTaskSelfTest extends GridCommonAbstractTest {
     /** */
@@ -220,7 +219,6 @@ public class GridSessionCancelSiblingsFromTaskSelfTest extends GridCommonAbstrac
                     private volatile Thread thread;
 
                     /** {@inheritDoc} */
-                    @SuppressWarnings({"BusyWait"})
                     @Override public Serializable execute() {
                         assert taskSes != null;
 
@@ -272,7 +270,6 @@ public class GridSessionCancelSiblingsFromTaskSelfTest extends GridCommonAbstrac
         }
 
         /** {@inheritDoc} */
-        @SuppressWarnings("deprecation")
         @Override public ComputeJobResultPolicy result(ComputeJobResult result, List<ComputeJobResult> received) {
             if (received.size() == 1) {
                 Collection<ComputeJobSibling> jobSiblings = taskSes.getJobSiblings();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitJobAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitJobAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitJobAttributeSelfTest.java
index bc601db..c4c9527 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitJobAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitJobAttributeSelfTest.java
@@ -44,7 +44,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionFutureWaitJobAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitTaskAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitTaskAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitTaskAttributeSelfTest.java
index 358920f..78f3160 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitTaskAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionFutureWaitTaskAttributeSelfTest.java
@@ -46,7 +46,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionFutureWaitTaskAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobFailoverSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobFailoverSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobFailoverSelfTest.java
index 72277c0..85b2e93 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobFailoverSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobFailoverSelfTest.java
@@ -61,7 +61,6 @@ public class GridSessionJobFailoverSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     public void testFailoverJobSession() throws Exception {
         try {
             Ignite ignite1 = startGrid(1);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobWaitTaskAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobWaitTaskAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobWaitTaskAttributeSelfTest.java
index e7490e9..f93e991 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobWaitTaskAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionJobWaitTaskAttributeSelfTest.java
@@ -47,7 +47,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionJobWaitTaskAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetFutureAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetFutureAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetFutureAttributeSelfTest.java
index 6299650..bab4c4c 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetFutureAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetFutureAttributeSelfTest.java
@@ -49,7 +49,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionSetFutureAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetJobAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetJobAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetJobAttributeSelfTest.java
index bb286c1..b2b1724 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetJobAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetJobAttributeSelfTest.java
@@ -47,7 +47,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionSetJobAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetTaskAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetTaskAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetTaskAttributeSelfTest.java
index ec8d5a3..497623c 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetTaskAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionSetTaskAttributeSelfTest.java
@@ -43,7 +43,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionSetTaskAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionTaskWaitJobAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionTaskWaitJobAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionTaskWaitJobAttributeSelfTest.java
index 7150a27..4bb94aa 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionTaskWaitJobAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionTaskWaitJobAttributeSelfTest.java
@@ -43,7 +43,6 @@ import org.apache.ignite.testframework.junits.common.GridCommonTest;
 /**
  *
  */
-@SuppressWarnings({"CatchGenericClass"})
 @GridCommonTest(group = "Task Session")
 public class GridSessionTaskWaitJobAttributeSelfTest extends GridCommonAbstractTest {
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/session/GridSessionWaitAttributeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/session/GridSessionWaitAttributeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/session/GridSessionWaitAttributeSelfTest.java
index 34f148d..d5732a0 100644
--- a/modules/core/src/test/java/org/apache/ignite/session/GridSessionWaitAttributeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/session/GridSessionWaitAttributeSelfTest.java
@@ -195,7 +195,6 @@ public class GridSessionWaitAttributeSelfTest extends GridCommonAbstractTest {
      * @param type Type.
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     private void checkWaitAttributeMethod(WaitAttributeType type) throws Exception {
         assert type != null;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/spi/GridTcpSpiForwardingSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/GridTcpSpiForwardingSelfTest.java b/modules/core/src/test/java/org/apache/ignite/spi/GridTcpSpiForwardingSelfTest.java
index 1e25003..e004781 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/GridTcpSpiForwardingSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/GridTcpSpiForwardingSelfTest.java
@@ -75,7 +75,6 @@ public class GridTcpSpiForwardingSelfTest extends GridCommonAbstractTest {
     private boolean ipFinderUseLocPorts;
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"IfMayBeConditional", "deprecation"})
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
 
@@ -339,7 +338,6 @@ public class GridTcpSpiForwardingSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("UnusedDeclaration")
     private void doTestForward() throws Exception {
         InetAddress locHost = InetAddress.getByName("127.0.0.1");
 


Mime
View raw message