ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nizhi...@apache.org
Subject [07/12] ignite git commit: IGNITE-9312: Remove unnecessary @SuppressWarnings annotation - Fixes #4632.
Date Fri, 02 Nov 2018 09:35:03 GMT
http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/sql/command/SqlBulkLoadCommand.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/sql/command/SqlBulkLoadCommand.java b/modules/core/src/main/java/org/apache/ignite/internal/sql/command/SqlBulkLoadCommand.java
index a1e4aec..8191757 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/sql/command/SqlBulkLoadCommand.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/sql/command/SqlBulkLoadCommand.java
@@ -269,7 +269,6 @@ public class SqlBulkLoadCommand implements SqlCommand {
      *
      * @return The list of columns.
      */
-    @SuppressWarnings("AssignmentOrReturnOfFieldWithMutableType")
     public List<String> columns() {
         return cols;
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/F0.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/F0.java b/modules/core/src/main/java/org/apache/ignite/internal/util/F0.java
index 497baaf..e20cf2d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/F0.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/F0.java
@@ -119,7 +119,7 @@ public class F0 {
      * @return Predicate that evaluates to {@code true} if each of its component predicates
      *      evaluates to {@code true}.
      */
-    @SuppressWarnings({"unchecked", "ConfusingArgumentToVarargsMethod"})
+    @SuppressWarnings({"unchecked"})
     public static <T> IgnitePredicate<T> and(@Nullable final IgnitePredicate<? super T>[] p1,
         @Nullable final IgnitePredicate<? super T>... p2) {
         if (F.isAlwaysFalse(p1) || F.isAlwaysFalse(p2))
@@ -194,7 +194,7 @@ public class F0 {
      * @return Predicate that evaluates to {@code true} if each of its component predicates
      *      evaluates to {@code true}.
      */
-    @SuppressWarnings({"unchecked", "ConfusingArgumentToVarargsMethod", "ConstantConditions"})
+    @SuppressWarnings({"unchecked", "ConstantConditions"})
     public static <T> IgnitePredicate<T> and(
         @Nullable final IgnitePredicate<? super T> p,
         @Nullable final IgnitePredicate<? super T>... ps

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedMap.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedMap.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedMap.java
index 33b2e60..270e350 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedMap.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedMap.java
@@ -197,7 +197,6 @@ public class GridBoundedConcurrentOrderedMap<K, V> extends ConcurrentSkipListMap
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked"})
     @Override public GridBoundedConcurrentOrderedMap<K, V> clone() {
         GridBoundedConcurrentOrderedMap<K, V> map = (GridBoundedConcurrentOrderedMap<K, V>)super.clone();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedSet.java
index a1ebd58..a457586 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedConcurrentOrderedSet.java
@@ -155,7 +155,6 @@ public class GridBoundedConcurrentOrderedSet<E> extends GridConcurrentSkipListSe
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked"})
     @Override public GridBoundedConcurrentOrderedSet<E> clone() {
         GridBoundedConcurrentOrderedSet<E> s = (GridBoundedConcurrentOrderedSet<E>)super.clone();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedLinkedHashSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedLinkedHashSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedLinkedHashSet.java
index 25bc2f3..7880190 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedLinkedHashSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridBoundedLinkedHashSet.java
@@ -48,7 +48,7 @@ public class GridBoundedLinkedHashSet<E> extends GridSerializableSet<E> implemen
     private static final Object FAKE = Boolean.TRUE;
 
     /** */
-    @SuppressWarnings({"TransientFieldNotInitialized", "CollectionDeclaredAsConcreteClass"})
+    @SuppressWarnings({"TransientFieldNotInitialized"})
     private transient HashMap<E, Object> map;
 
     /**

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridCircularBuffer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridCircularBuffer.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridCircularBuffer.java
index 26c87ef..85a186a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridCircularBuffer.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridCircularBuffer.java
@@ -156,7 +156,6 @@ public class GridCircularBuffer<T> {
         /**
          * @return Item.
          */
-        @SuppressWarnings("MethodNamesDifferingOnlyByCase")
         synchronized V item() {
             return item;
         }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentPhantomHashSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentPhantomHashSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentPhantomHashSet.java
index ab8bb03..7b3f38e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentPhantomHashSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentPhantomHashSet.java
@@ -208,7 +208,6 @@ public class GridConcurrentPhantomHashSet<E> implements Set<E> {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"ToArrayCallWithZeroLengthArrayArgument"})
     @Override public Object[] toArray() {
         return toArray(EMPTY_ARR);
     }
@@ -263,7 +262,6 @@ public class GridConcurrentPhantomHashSet<E> implements Set<E> {
             }
 
             /** {@inheritDoc} */
-            @SuppressWarnings({"IteratorNextCanNotThrowNoSuchElementException"})
             @Override public E next() {
                 if (elem == null) {
                     if (!hasNext())

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentSkipListSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentSkipListSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentSkipListSet.java
index 5c1f95e..688e164 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentSkipListSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentSkipListSet.java
@@ -108,7 +108,7 @@ public class GridConcurrentSkipListSet<E> extends GridSerializableSet<E> impleme
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked", "OverriddenMethodCallDuringObjectConstruction", "CloneCallsConstructors", "CloneDoesntDeclareCloneNotSupportedException"})
+    @SuppressWarnings({"unchecked", "CloneCallsConstructors"})
     @Override public GridConcurrentSkipListSet<E> clone() {
         try {
             GridConcurrentSkipListSet<E> clone = (GridConcurrentSkipListSet<E>)super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentWeakHashSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentWeakHashSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentWeakHashSet.java
index bba392c..8a322b5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentWeakHashSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentWeakHashSet.java
@@ -208,7 +208,6 @@ public class GridConcurrentWeakHashSet<E> implements Set<E> {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"ToArrayCallWithZeroLengthArrayArgument"})
     @Override public Object[] toArray() {
         return toArray(EMPTY_ARR);
     }
@@ -263,7 +262,6 @@ public class GridConcurrentWeakHashSet<E> implements Set<E> {
             }
 
             /** {@inheritDoc} */
-            @SuppressWarnings({"IteratorNextCanNotThrowNoSuchElementException"})
             @Override public E next() {
                 if (elem == null) {
                     if (!hasNext())

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanMap.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanMap.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanMap.java
index c0f7c5b..5452a25 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanMap.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanMap.java
@@ -61,7 +61,6 @@ public class GridLeanMap<K, V> extends GridSerializableMap<K, V> implements Clon
      *
      * @param size Initial size.
      */
-    @SuppressWarnings("IfMayBeConditional")
     public GridLeanMap(int size) {
         assert size >= 0;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanSet.java
index 1cfffd5..125e61f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridLeanSet.java
@@ -63,7 +63,7 @@ public class GridLeanSet<E> extends GridSetWrapper<E> implements Cloneable {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings( {"unchecked", "CloneDoesntDeclareCloneNotSupportedException"})
+    @SuppressWarnings( {"unchecked"})
     @Override public Object clone() {
         try {
             GridLeanSet<E> clone = (GridLeanSet<E>)super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridListSet.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridListSet.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridListSet.java
index 6226bd2..6f49c1b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridListSet.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridListSet.java
@@ -393,7 +393,7 @@ public class GridListSet<V> extends GridSerializableSet<V> implements Cloneable
      * @return Clone of this set.
      * @throws CloneNotSupportedException
      */
-    @SuppressWarnings( {"unchecked", "OverriddenMethodCallDuringObjectConstruction"})
+    @SuppressWarnings( {"unchecked"})
     @Override protected Object clone() throws CloneNotSupportedException {
         GridListSet<V> clone = (GridListSet<V>)super.clone();
 
@@ -426,7 +426,6 @@ public class GridListSet<V> extends GridSerializableSet<V> implements Cloneable
                 return set.addx(val);
             }
 
-            @SuppressWarnings( {"CloneDoesntCallSuperClone"})
             @Override public synchronized Object clone() throws CloneNotSupportedException {
                 return set.clone();
             }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridMutex.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridMutex.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridMutex.java
index 800f83c..d9369e8 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridMutex.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridMutex.java
@@ -26,7 +26,6 @@ import org.apache.ignite.internal.util.typedef.internal.S;
 /**
  * Serializable mutex.
  */
-@SuppressWarnings( {"CloneDoesntDeclareCloneNotSupportedException"})
 public class GridMutex implements Externalizable, Cloneable {
     /** */
     private static final long serialVersionUID = 0L;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridSetWrapper.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSetWrapper.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSetWrapper.java
index 5104097..fb5a793 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSetWrapper.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSetWrapper.java
@@ -83,13 +83,11 @@ public class GridSetWrapper<E> extends GridSerializableSet<E> {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("unchecked")
     @Override public boolean add(E e) {
         return map.put(e, VAL) == null;
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("unchecked")
     @Override public Iterator<E> iterator() {
         return map.keySet().iterator();
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridSnapshotLock.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSnapshotLock.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSnapshotLock.java
index ad56f59..ab6048d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSnapshotLock.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSnapshotLock.java
@@ -91,7 +91,6 @@ public abstract class GridSnapshotLock<X> {
     /**
      * Mix of CountDownLatch, ReadWriteLock and Future. Must be recreated after each {@link #flip()}.
      */
-    @SuppressWarnings("PackageVisibleInnerClass")
     private static class Sync<X> extends AbstractQueuedSynchronizer {
         /** */
         private static final long serialVersionUID = 0L;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/GridSpinReadWriteLock.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSpinReadWriteLock.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSpinReadWriteLock.java
index 8fef887..37fb54e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridSpinReadWriteLock.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridSpinReadWriteLock.java
@@ -56,11 +56,9 @@ public class GridSpinReadWriteLock {
     };
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     private volatile int state;
 
     /** */
-    @SuppressWarnings("UnusedDeclaration")
     private volatile int pendingWLocks;
 
     /** */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index 1e8d005..68219e6 100755
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -280,7 +280,7 @@ import static org.apache.ignite.internal.util.GridUnsafe.staticFieldOffset;
 /**
  * Collection of utility methods used throughout the system.
  */
-@SuppressWarnings({"UnusedReturnValue", "UnnecessaryFullyQualifiedName", "RedundantStringConstructorCall"})
+@SuppressWarnings({"UnusedReturnValue", "RedundantStringConstructorCall"})
 public abstract class IgniteUtils {
     /** */
     private static final long GB = 1024L * 1024 * 1024;
@@ -2811,7 +2811,6 @@ public abstract class IgniteUtils {
      * @return Byte value.
      * @throws IllegalArgumentException If input character differ from certain hex characters.
      */
-    @SuppressWarnings({"UnnecessaryFullyQualifiedName", "fallthrough"})
     private static byte hexCharToByte(char ch) throws IllegalArgumentException {
         switch (ch) {
             case '0':
@@ -3248,7 +3247,6 @@ public abstract class IgniteUtils {
                         return e.hasMoreElements();
                     }
 
-                    @SuppressWarnings({"IteratorNextCanNotThrowNoSuchElementException"})
                     @Override public T next() {
                         return e.nextElement();
                     }
@@ -3373,7 +3371,7 @@ public abstract class IgniteUtils {
                 assert timer == null;
 
                 timer = new Thread(new Runnable() {
-                    @SuppressWarnings({"BusyWait", "InfiniteLoopStatement"})
+                    @SuppressWarnings({"BusyWait"})
                     @Override public void run() {
                         while (true) {
                             curTimeMillis = System.currentTimeMillis();
@@ -3904,7 +3902,6 @@ public abstract class IgniteUtils {
      * @return Resolved path as URL, or {@code null} if path cannot be resolved.
      * @see #getIgniteHome()
      */
-    @SuppressWarnings({"UnusedCatchParameter"})
     @Nullable public static URL resolveIgniteUrl(String path, boolean metaInf) {
         File f = resolveIgnitePath(path);
 
@@ -5677,7 +5674,6 @@ public abstract class IgniteUtils {
      * @return {@code True} if all entries within map are contained in base map,
      *      {@code false} otherwise.
      */
-    @SuppressWarnings({"SuspiciousMethodCalls"})
     public static boolean containsAll(Map<?, ?> base, Map<?, ?> map) {
         assert base != null;
         assert map != null;
@@ -6286,7 +6282,7 @@ public abstract class IgniteUtils {
      * @param mux Mux to wait on.
      * @throws IgniteInterruptedCheckedException If interrupted.
      */
-    @SuppressWarnings({"WaitNotInLoop", "WaitWhileNotSynced"})
+    @SuppressWarnings({"WaitNotInLoop"})
     public static void wait(Object mux) throws IgniteInterruptedCheckedException {
         try {
             mux.wait();
@@ -6812,7 +6808,6 @@ public abstract class IgniteUtils {
         // Get original context class loader.
         ClassLoader ctxLdr = curThread.getContextClassLoader();
 
-        //noinspection CatchGenericClass
         try {
             curThread.setContextClassLoader(ldr);
 
@@ -7013,7 +7008,6 @@ public abstract class IgniteUtils {
      * @param <T> Element type.
      * @return Passed in array.
      */
-    @SuppressWarnings({"MismatchedReadAndWriteOfArray"})
     public static <T> T[] toArray(Collection<? extends T> c, T[] arr) {
         T[] a = c.toArray(arr);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java b/modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java
index b119960..941ab1e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java
@@ -33,7 +33,6 @@ import org.apache.ignite.internal.util.typedef.internal.U;
  *     +----------------+---------------+---------+----------+
  * </pre>
  */
-@SuppressWarnings({"NakedNotify", "SynchronizationOnLocalVariableOrMethodParameter", "CallToThreadYield", "WaitWhileNotSynced"})
 public class OffheapReadWriteLock {
     /**
      * TODO benchmark optimal spin count.

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridCompoundFuture.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridCompoundFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridCompoundFuture.java
index 87f5882..2299dcc 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridCompoundFuture.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridCompoundFuture.java
@@ -200,7 +200,6 @@ public class GridCompoundFuture<T, R> extends GridFutureAdapter<R> implements Ig
      *
      * @return {@code True} if there are pending futures.
      */
-    @SuppressWarnings("ForLoopReplaceableByForEach")
     protected final boolean hasPending() {
         synchronized (this) {
             int size = futuresCountNoLock();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridEmbeddedFuture.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridEmbeddedFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridEmbeddedFuture.java
index fa4e3bd..6ddda4a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridEmbeddedFuture.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/future/GridEmbeddedFuture.java
@@ -31,7 +31,6 @@ import org.apache.ignite.lang.IgniteOutClosure;
  * Future which waits for embedded future to complete and then asynchronously executes
  * provided closure with embedded future result.
  */
-@SuppressWarnings({"NullableProblems"})
 public class GridEmbeddedFuture<A, B> extends GridFutureAdapter<A> {
     /** Embedded future to wait for. */
     private IgniteInternalFuture<B> embedded;
@@ -50,7 +49,6 @@ public class GridEmbeddedFuture<A, B> extends GridFutureAdapter<A> {
         this.embedded = embedded;
 
         embedded.listen(new AL1() {
-            @SuppressWarnings({"ErrorNotRethrown", "CatchGenericClass"})
             @Override public void applyx(IgniteInternalFuture<B> embedded) {
                 try {
                     onDone(c.apply(embedded.get(), null));

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/gridify/GridifyUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/gridify/GridifyUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/gridify/GridifyUtils.java
index 7c9ef00..50af61a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/gridify/GridifyUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/gridify/GridifyUtils.java
@@ -208,7 +208,6 @@ public final class GridifyUtils {
      * @param cls Method parameter to check.
      * @return {@code true} if method parameter type is valid.
      */
-    @SuppressWarnings({"UnusedCatchParameter"})
     public static boolean isMethodParameterTypeAllowed(Class<?> cls) {
         for (Class<?> mtdReturnType : ALLOWED_MTD_PARAM_TYPES) {
             if (mtdReturnType.equals(cls))

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryNativeLoader.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryNativeLoader.java b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryNativeLoader.java
index 02c4de5..c33c216 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryNativeLoader.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryNativeLoader.java
@@ -307,7 +307,6 @@ public class IpcSharedMemoryNativeLoader {
      * @param target Target.
      * @return {@code True} if resource was found and loaded.
      */
-    @SuppressWarnings("ResultOfMethodCallIgnored")
     private static boolean extract(Collection<Throwable> errs, URL src, File target) {
         FileOutputStream os = null;
         InputStream is = null;
@@ -353,7 +352,6 @@ public class IpcSharedMemoryNativeLoader {
      * @param target Target.
      * @return {@code True} if resource was found and loaded.
      */
-    @SuppressWarnings("ResultOfMethodCallIgnored")
     private static boolean extract(Collection<Throwable> errs, ZipEntry src, JarFile jar, File target) {
         FileOutputStream os = null;
         InputStream is = null;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpace.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpace.java b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpace.java
index bdf73cd..ab8e6b3 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpace.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemorySpace.java
@@ -31,7 +31,6 @@ import static org.apache.ignite.IgniteSystemProperties.IGNITE_IPC_SHMEM_SPACE_DE
 /**
  *
  */
-@SuppressWarnings({"PointlessBooleanExpression", "ConstantConditions"})
 public class IpcSharedMemorySpace implements Closeable {
     /** Debug flag (enable for testing). */
     private static final boolean DEBUG = Boolean.getBoolean(IGNITE_IPC_SHMEM_SPACE_DEBUG);

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
index 3b3bbaa..1094de3 100755
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridFunc.java
@@ -352,7 +352,6 @@ public class GridFunc {
      * @param <T> Type of the collection.
      * @return Random value from the input collection.
      */
-    @SuppressWarnings("UnusedDeclaration")
     public static <T> T rand(Collection<? extends T> c) {
         A.notNull(c, "c");
 
@@ -526,7 +525,6 @@ public class GridFunc {
      * @param iters Iterator over iterators.
      * @return Single iterator.
      */
-    @SuppressWarnings("unchecked")
     public static <T> Iterator<T> concat(final Iterator<Iterator<T>> iters) {
         if (!iters.hasNext())
             return Collections.<T>emptySet().iterator();
@@ -1131,7 +1129,6 @@ public class GridFunc {
      * @param <V> Value type.
      * @return Light-weight view on given map with provided predicates and mapping.
      */
-    @SuppressWarnings("TypeMayBeWeakened")
     public static <K0, K extends K0, V0, V extends V0> Map<K, V> viewAsMap(@Nullable final Set<K> c,
         final IgniteClosure<? super K, V> mapClo, @Nullable final IgnitePredicate<? super K>... p) {
         A.notNull(mapClo, "trans");
@@ -1416,7 +1413,7 @@ public class GridFunc {
      * @param <T> Type of the free variable, i.e. the element the predicate is called on.
      * @return Predicate that always returns {@code true}.
      */
-    @SuppressWarnings( {"unchecked", "RedundantCast"})
+    @SuppressWarnings( {"unchecked"})
     public static <T> IgnitePredicate<T> alwaysTrue() {
         return (IgnitePredicate<T>)ALWAYS_TRUE;
     }
@@ -1428,7 +1425,7 @@ public class GridFunc {
      * @param <T> Type of the free variable, i.e. the element the predicate is called on.
      * @return Predicate that always returns {@code false}.
      */
-    @SuppressWarnings( {"unchecked", "RedundantCast"})
+    @SuppressWarnings( {"unchecked"})
     public static <T> IgnitePredicate<T> alwaysFalse() {
         return (IgnitePredicate<T>)ALWAYS_FALSE;
     }
@@ -1650,7 +1647,7 @@ public class GridFunc {
      * @return Predicate that evaluates to {@code true} if each of its component predicates
      *      evaluates to {@code true}.
      */
-    @SuppressWarnings({"unchecked", "ConfusingArgumentToVarargsMethod"})
+    @SuppressWarnings({"unchecked"})
     public static <T> IgnitePredicate<T> and(@Nullable final IgnitePredicate<? super T>... ps) {
         if (isEmpty(ps))
             return F.alwaysTrue();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/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 1983ea3..d00fd10 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
@@ -31,7 +31,6 @@ import org.jetbrains.annotations.Nullable;
  * Convenient adapter for working with metadata. <h2 class="header">Thread Safety</h2> This class provides necessary
  * synchronization for thread-safe access.
  */
-@SuppressWarnings({"SynchronizeOnNonFinalField"})
 public class GridMetadataAwareAdapter {
     /**
      * Enum stored predefined keys.
@@ -368,7 +367,6 @@ public class GridMetadataAwareAdapter {
      * @throws IOException If I/O error occurred.
      * @throws ClassNotFoundException If some class could not be found.
      */
-    @SuppressWarnings({"unchecked"})
     protected void readExternalMeta(ObjectInput in) throws IOException, ClassNotFoundException {
         Object[] cp = (Object[])in.readObject();
 
@@ -378,7 +376,6 @@ public class GridMetadataAwareAdapter {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException", "OverriddenMethodCallDuringObjectConstruction"})
     @Override public Object clone() {
         try {
             GridMetadataAwareAdapter clone = (GridMetadataAwareAdapter)super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTriple.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTriple.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTriple.java
index a392ed6..b5d1fd0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTriple.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTriple.java
@@ -46,7 +46,6 @@ public class GridTriple<T> extends GridTuple3<T, T, T> {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings( {"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         return super.clone();
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple.java
index 979befd..721d142 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple.java
@@ -101,7 +101,6 @@ public class GridTuple<V> implements Iterable<V>, Cloneable, Externalizable {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple3.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple3.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple3.java
index c70f59f..76fbdb5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple3.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple3.java
@@ -172,7 +172,6 @@ public class GridTuple3<V1, V2, V3> implements Iterable<Object>, Externalizable,
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"OverriddenMethodCallDuringObjectConstruction", "CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple4.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple4.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple4.java
index d49b0ae..2889899 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple4.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple4.java
@@ -200,7 +200,6 @@ public class GridTuple4<V1, V2, V3, V4> implements Iterable<Object>, Externaliza
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple5.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple5.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple5.java
index 22e5df5..e1748bf 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple5.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple5.java
@@ -228,7 +228,6 @@ public class GridTuple5<V1, V2, V3, V4, V5> implements Iterable<Object>, Externa
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple6.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple6.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple6.java
index d803d50..c7d7ee6 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple6.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridTuple6.java
@@ -259,7 +259,6 @@ public class GridTuple6<V1, V2, V3, V4, V5, V6> implements Iterable<Object>, Ext
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/IgnitePair.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/IgnitePair.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/IgnitePair.java
index a6acce4..6a14030 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/IgnitePair.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/IgnitePair.java
@@ -46,7 +46,6 @@ public class IgnitePair<T> extends IgniteBiTuple<T, T> {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings( {"CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         return super.clone();
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryGetValueClosure.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryGetValueClosure.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryGetValueClosure.java
index 578813b..2bd3ed8 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryGetValueClosure.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryGetValueClosure.java
@@ -30,7 +30,6 @@ public class CacheEntryGetValueClosure implements IgniteClosure {
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked"})
     @Nullable @Override public Object apply(Object o) {
         return ((Cache.Entry)o).getValue();
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryHasPeekPredicate.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryHasPeekPredicate.java b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryHasPeekPredicate.java
index 35042f0..f0568fd 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryHasPeekPredicate.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/gridfunc/CacheEntryHasPeekPredicate.java
@@ -29,7 +29,6 @@ public class CacheEntryHasPeekPredicate implements IgnitePredicate {
     private static final long serialVersionUID = 0L;
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked"})
     @Override public boolean apply(Object o) {
         return ((Cache.Entry)o).getValue() != null;
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
index f9fda8c..b3c4fc1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
@@ -193,11 +193,9 @@ public class GridNioServer<T> {
     private volatile long idleTimeout = ConnectorConfiguration.DFLT_IDLE_TIMEOUT;
 
     /** For test purposes only. */
-    @SuppressWarnings("UnusedDeclaration")
     private boolean skipWrite;
 
     /** For test purposes only. */
-    @SuppressWarnings("UnusedDeclaration")
     private boolean skipRead;
 
     /** Local address. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafeMap.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafeMap.java b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafeMap.java
index 304a7ba..7d5f850 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafeMap.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafeMap.java
@@ -138,7 +138,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
      * @param lruStripes Number of LRU stripes.
      * @param evictLsnr Eviction listener.
      */
-    @SuppressWarnings("unchecked")
     public GridUnsafeMap(int concurrency, float load, long initCap, long totalMem, short lruStripes,
         @Nullable GridOffHeapEvictListener evictLsnr) {
         this.concurrency = concurrency;
@@ -214,7 +213,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
      * @param evictLsnr Eviction closure.
      * @param lruPoller LRU poller.
      */
-    @SuppressWarnings("unchecked")
     GridUnsafeMap(int part, int concurrency, float load, long initCap, LongAdder totalCnt, GridUnsafeMemory mem,
         GridUnsafeLru lru, @Nullable GridOffHeapEvictListener evictLsnr, GridUnsafeLruPoller lruPoller) {
         this.part = part;
@@ -1006,7 +1004,7 @@ public class GridUnsafeMap implements GridOffHeapMap {
          * @param qAddr Queue address.
          * @return Released size.
          */
-        @SuppressWarnings({"TooBroadScope", "AssertWithSideEffects"})
+        @SuppressWarnings({"AssertWithSideEffects"})
         private int freeSpace(int hash, short order, long qAddr) {
             assert lru != null;
 
@@ -1111,7 +1109,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
          * @param keyBytes Key bytes.
          * @param valBytes Value bytes.
          */
-        @SuppressWarnings("TooBroadScope")
         void insert(int hash, byte[] keyBytes, byte[] valBytes) {
             if (cnt + 1 > threshold)
                 rehash();
@@ -1166,7 +1163,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
          * @param valBytes Value bytes.
          * @return {@code True} if new entry was created, {@code false} if existing value was updated.
          */
-        @SuppressWarnings("TooBroadScope")
         boolean put(int hash, byte[] keyBytes, byte[] valBytes) {
             boolean isNew = true;
 
@@ -1287,7 +1283,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
          * @param keyBytes Key bytes.
          * @return Removed value bytes.
          */
-        @SuppressWarnings("TooBroadScope")
         byte[] remove(int hash, byte[] keyBytes) {
             return remove(hash, keyBytes, true, null);
         }
@@ -1318,7 +1313,6 @@ public class GridUnsafeMap implements GridOffHeapMap {
          * @param p Value predicate.
          * @return Removed value bytes.
          */
-        @SuppressWarnings("TooBroadScope")
         byte[] remove(int hash, byte[] keyBytes, boolean retval, @Nullable IgniteBiPredicate<Long, Integer> p) {
             int relSize = 0;
             long relAddr = 0;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafePartitionedMap.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafePartitionedMap.java b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafePartitionedMap.java
index 42b2769..40ccb13 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafePartitionedMap.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/offheap/unsafe/GridUnsafePartitionedMap.java
@@ -76,7 +76,6 @@ public class GridUnsafePartitionedMap implements GridOffHeapPartitionedMap {
      * @param lruStripes LRU stripes.
      * @param evictLsnr Eviction callback.
      */
-    @SuppressWarnings("unchecked")
     public GridUnsafePartitionedMap(int parts, int concurrency, float load, long initCap, long totalMem,
         short lruStripes, @Nullable GridOffHeapEvictListener evictLsnr) {
         this.parts = parts;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringBuilder.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringBuilder.java b/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringBuilder.java
index 329682f..5394e3b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringBuilder.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringBuilder.java
@@ -806,7 +806,6 @@ public class GridToStringBuilder {
      * @param cls value class.
      * @param val value to print.
      */
-    @SuppressWarnings({"unchecked"})
     private static void toString(SBLimitedLength buf, Class<?> cls, Object val) {
         if (val == null) {
             buf.a("null");
@@ -1008,7 +1007,6 @@ public class GridToStringBuilder {
      * @return String presentation of the given object.
      * @param <T> Type of object.
      */
-    @SuppressWarnings({"unchecked"})
     private static <T> String toStringImpl0(
         Class<T> cls,
         SBLimitedLength buf,

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringOrder.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringOrder.java b/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringOrder.java
index 12032f5..2235101 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringOrder.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringOrder.java
@@ -37,5 +37,5 @@ public @interface GridToStringOrder {
     /**
      * Numeric order value.
      */
-    @SuppressWarnings({"JavaDoc"}) int value();
+    int value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/typedef/internal/U.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/typedef/internal/U.java b/modules/core/src/main/java/org/apache/ignite/internal/util/typedef/internal/U.java
index d5bc0b4..4fc28ce 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/typedef/internal/U.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/typedef/internal/U.java
@@ -24,5 +24,4 @@ import org.apache.ignite.internal.util.IgniteUtils;
  * (like Scala, for example) we resort to these types of measures. This is intended for internal
  * use only and meant to provide for more terse code when readability of code is not compromised.
  */
-@SuppressWarnings({"ExtendsUtilityClass"})
 public class U extends IgniteUtils { /* No-op. */ }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/internal/util/worker/GridWorkerPool.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/worker/GridWorkerPool.java b/modules/core/src/main/java/org/apache/ignite/internal/util/worker/GridWorkerPool.java
index f015b62..dbca802 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/worker/GridWorkerPool.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/worker/GridWorkerPool.java
@@ -59,7 +59,7 @@ public class GridWorkerPool {
      * @param w Runnable task.
      * @throws IgniteCheckedException Thrown if any exception occurred.
      */
-    @SuppressWarnings({"CatchGenericClass", "ProhibitedExceptionThrown"})
+    @SuppressWarnings({"ProhibitedExceptionThrown"})
     public void execute(final GridWorker w) throws IgniteCheckedException {
         workers.add(w);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java b/modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java
index 89e5f16..2b79e37 100644
--- a/modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java
+++ b/modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java
@@ -256,7 +256,6 @@ public class IgniteBiTuple<V1, V2> implements Map<V1, V2>, Map.Entry<V1, V2>,
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"OverriddenMethodCallDuringObjectConstruction", "CloneDoesntDeclareCloneNotSupportedException"})
     @Override public Object clone() {
         try {
             return super.clone();
@@ -285,7 +284,6 @@ public class IgniteBiTuple<V1, V2> implements Map<V1, V2>, Map.Entry<V1, V2>,
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"MismatchedQueryAndUpdateOfCollection"})
     @Override public boolean equals(Object o) {
         if (this == o)
             return true;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java b/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java
index eef134a..96c5365 100644
--- a/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java
+++ b/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java
@@ -274,7 +274,6 @@ public class IgniteProductVersion implements Comparable<IgniteProductVersion>, E
      * @param verStr String representation of version.
      * @return Product version.
      */
-    @SuppressWarnings({"MagicConstant", "TypeMayBeWeakened"})
     public static IgniteProductVersion fromString(String verStr) {
         assert verStr != null;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFileHandler.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFileHandler.java b/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFileHandler.java
index 7d1fa08..3f385bf 100644
--- a/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFileHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFileHandler.java
@@ -68,7 +68,6 @@ public final class JavaLoggerFileHandler extends StreamHandler {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("NonSynchronizedMethodOverridesSynchronizedMethod")
     @Override public boolean isLoggable(LogRecord record) {
         FileHandler delegate0 = delegate;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFormatter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFormatter.java b/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFormatter.java
index fb6eaa7..cfef38b 100644
--- a/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFormatter.java
+++ b/modules/core/src/main/java/org/apache/ignite/logger/java/JavaLoggerFormatter.java
@@ -41,7 +41,6 @@ public class JavaLoggerFormatter extends Formatter {
     };
 
     /** {@inheritDoc} */
-    @SuppressWarnings("ThrowableResultOfMethodCallIgnored")
     @Override public String format(LogRecord record) {
         String threadName = Thread.currentThread().getName();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/marshaller/AbstractNodeNameAwareMarshaller.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/marshaller/AbstractNodeNameAwareMarshaller.java b/modules/core/src/main/java/org/apache/ignite/marshaller/AbstractNodeNameAwareMarshaller.java
index 559ac73..1d0f4ae 100644
--- a/modules/core/src/main/java/org/apache/ignite/marshaller/AbstractNodeNameAwareMarshaller.java
+++ b/modules/core/src/main/java/org/apache/ignite/marshaller/AbstractNodeNameAwareMarshaller.java
@@ -41,7 +41,6 @@ public abstract class AbstractNodeNameAwareMarshaller extends AbstractMarshaller
      *
      * @param nodeName Node name.
      */
-    @SuppressWarnings("unchecked")
     public void nodeName(@Nullable String nodeName) {
         if (!nodeNameSet) {
             this.nodeName = nodeName;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanDescription.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanDescription.java b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanDescription.java
index 3c191bf..42971fb 100644
--- a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanDescription.java
+++ b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanDescription.java
@@ -34,5 +34,5 @@ public @interface MXBeanDescription {
      *
      * Description for Mbean.
      */
-    @SuppressWarnings({"JavaDoc"}) public String value();
+    public String value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersDescriptions.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersDescriptions.java b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersDescriptions.java
index def4083..d8765fc 100644
--- a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersDescriptions.java
+++ b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersDescriptions.java
@@ -34,5 +34,5 @@ public @interface MXBeanParametersDescriptions {
      *
      * Array of descriptions for parameters.
      */
-    @SuppressWarnings({"JavaDoc"}) public String[] value();
+    public String[] value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersNames.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersNames.java b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersNames.java
index fa7c20e..fec9305 100644
--- a/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersNames.java
+++ b/modules/core/src/main/java/org/apache/ignite/mxbean/MXBeanParametersNames.java
@@ -34,5 +34,5 @@ public @interface MXBeanParametersNames {
      *
      * Array of parameter names in MBean.
      */
-    @SuppressWarnings({"JavaDoc"}) public String[] value();
+    public String[] value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetConfiguration.java b/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetConfiguration.java
index 1c058c1..fa0e11e 100644
--- a/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetConfiguration.java
@@ -91,7 +91,6 @@ public class PlatformDotNetConfiguration implements PlatformConfiguration {
     /**
      * @return Configuration copy.
      */
-    @SuppressWarnings("UnusedDeclaration")
     private PlatformDotNetConfiguration copy() {
         return new PlatformDotNetConfiguration(this);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/services/ServiceConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/services/ServiceConfiguration.java b/modules/core/src/main/java/org/apache/ignite/services/ServiceConfiguration.java
index 0589b79..37a794b 100644
--- a/modules/core/src/main/java/org/apache/ignite/services/ServiceConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/services/ServiceConfiguration.java
@@ -255,7 +255,6 @@ public class ServiceConfiguration implements Serializable {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"RedundantIfStatement", "EqualsWhichDoesntCheckParameterClass"})
     @Override public boolean equals(Object o) {
         if (!equalsIgnoreNodeFilter(o))
             return false;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConfiguration.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConfiguration.java
index 9851e05..1f2bd9c 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConfiguration.java
@@ -36,6 +36,5 @@ public @interface IgniteSpiConfiguration {
     /**
      * Whether this configuration setting is optional or not.
      */
-    @SuppressWarnings("JavaDoc")
     public boolean optional();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConsistencyChecked.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConsistencyChecked.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConsistencyChecked.java
index 81ab21e..dbbc00d 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConsistencyChecked.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiConsistencyChecked.java
@@ -38,7 +38,6 @@ public @interface IgniteSpiConsistencyChecked {
      * Optional consistency check means that check will be performed only if
      * SPI class names and versions match.
      */
-    @SuppressWarnings("JavaDoc")
     public boolean optional();
 
     /**
@@ -46,6 +45,5 @@ public @interface IgniteSpiConsistencyChecked {
      * for SwapSpaceSpi for example, since client nodes has no data at all, so they
      * don't need to be consistent with server nodes.
      */
-    @SuppressWarnings("JavaDoc")
     public boolean checkClient() default true;
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.java
index 2ff06fb..1fef003 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiMultipleInstancesSupport.java
@@ -42,5 +42,5 @@ public @interface IgniteSpiMultipleInstancesSupport {
      * Whether or not target SPI supports multiple grid instances
      * started in the same VM.
      */
-    @SuppressWarnings({"JavaDoc"}) public boolean value();
+    public boolean value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiThread.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiThread.java b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiThread.java
index 6b3cf06..732d435 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiThread.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/IgniteSpiThread.java
@@ -56,7 +56,6 @@ public abstract class IgniteSpiThread extends IgniteThread {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"CatchGenericClass"})
     @Override public final void run() {
         try {
             body();

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingCollisionSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingCollisionSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingCollisionSpi.java
index 7cda691..5f1c052 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingCollisionSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingCollisionSpi.java
@@ -253,7 +253,6 @@ public class JobStealingCollisionSpi extends IgniteSpiAdapter implements Collisi
     private volatile int activeJobsThreshold = DFLT_ACTIVE_JOBS_THRESHOLD;
 
     /** Configuration parameter defining waiting job count threshold for stealing to start. */
-    @SuppressWarnings("RedundantFieldInitialization")
     private volatile int waitJobsThreshold = DFLT_WAIT_JOBS_THRESHOLD;
 
     /** Message expire time configuration parameter. */
@@ -571,7 +570,6 @@ public class JobStealingCollisionSpi extends IgniteSpiAdapter implements Collisi
     @Override protected void onContextInitialized0(IgniteSpiContext spiCtx) throws IgniteSpiException {
         spiCtx.addLocalEventListener(
             discoLsnr = new GridLocalEventListener() {
-                @SuppressWarnings("fallthrough")
                 @Override public void onEvent(Event evt) {
                     assert evt instanceof DiscoveryEvent;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
index 877d2be..33b1384 100755
--- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
@@ -1092,7 +1092,6 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter implements Communicati
     private long maxConnTimeout = DFLT_MAX_CONN_TIMEOUT;
 
     /** Reconnect attempts count. */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
     private int reconCnt = DFLT_RECONNECT_CNT;
 
     /** Socket send buffer. */
@@ -4617,7 +4616,6 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter implements Communicati
         }
 
         /** {@inheritDoc} */
-        @SuppressWarnings("ThrowFromFinallyBlock")
         @Override public void applyx(InputStream in, OutputStream out) throws IgniteCheckedException {
             try {
                 // Handshake.

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
index 2b18422..ad78af0 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java
@@ -76,7 +76,6 @@ public class LocalDeploymentSpi extends IgniteSpiAdapter implements DeploymentSp
         IgniteSystemProperties.getBoolean(IGNITE_DEPLOYMENT_ADDITIONAL_CHECK);
 
     /** */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
     @LoggerResource
     private IgniteLogger log;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.java
index 8d24646..e7025f5 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiHistorySupport.java
@@ -36,6 +36,5 @@ public @interface DiscoverySpiHistorySupport {
     /**
      * Whether or not target SPI supports topology snapshots history.
      */
-    @SuppressWarnings({"JavaDoc"})
     public boolean value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.java
index c03bd2b..8753920 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/DiscoverySpiOrderSupport.java
@@ -47,6 +47,5 @@ public @interface DiscoverySpiOrderSupport {
     /**
      * Whether or not target SPI supports node startup order.
      */
-    @SuppressWarnings({"JavaDoc"})
     public boolean value();
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java
index 92c197a..ff4df86 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java
@@ -1653,7 +1653,6 @@ class ClientImpl extends TcpDiscoveryImpl {
         }
 
         /** {@inheritDoc} */
-        @SuppressWarnings("InfiniteLoopStatement")
         @Override protected void body() throws InterruptedException {
             state = STARTING;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
index 1da9b20..2c3569e 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
@@ -1038,7 +1038,6 @@ class ServerImpl extends TcpDiscoveryImpl {
      * @return {@code true} if send succeeded.
      * @throws IgniteSpiException If any error occurs.
      */
-    @SuppressWarnings({"BusyWait"})
     private boolean sendJoinRequestMessage(DiscoveryDataPacket discoveryData) throws IgniteSpiException {
         TcpDiscoveryAbstractMessage joinReq = new TcpDiscoveryJoinRequestMessage(locNode, discoveryData);
 
@@ -5351,7 +5350,6 @@ class ServerImpl extends TcpDiscoveryImpl {
          *
          * @param msg Discard message.
          */
-        @SuppressWarnings("StatementWithEmptyBody")
         private void processDiscardMessage(TcpDiscoveryDiscardMessage msg) {
             assert msg != null;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryImpl.java
index 7d51e36..3ba3c79 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryImpl.java
@@ -70,7 +70,6 @@ abstract class TcpDiscoveryImpl {
     private int debugMsgHist = 512;
 
     /** Received messages. */
-    @SuppressWarnings("FieldAccessedSynchronizedAndUnsynchronized")
     protected ConcurrentLinkedDeque<String> debugLogQ;
 
     /** */
@@ -327,7 +326,6 @@ abstract class TcpDiscoveryImpl {
     /**
      * @throws IgniteSpiException If failed.
      */
-    @SuppressWarnings("BusyWait")
     protected final void registerLocalNodeAddress() throws IgniteSpiException {
         // Make sure address registration succeeded.
         // ... but limit it if join timeout is configured.

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
index 9f70d43..ce3370e 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
@@ -224,7 +224,6 @@ import static org.apache.ignite.IgniteSystemProperties.getBoolean;
  * For information about Spring framework visit <a href="http://www.springframework.org/">www.springframework.org</a>
  * @see DiscoverySpi
  */
-@SuppressWarnings("NonPrivateFieldAccessedInSynchronizedContext")
 @IgniteSpiMultipleInstancesSupport(true)
 @DiscoverySpiOrderSupport(true)
 @DiscoverySpiHistorySupport(true)
@@ -303,7 +302,6 @@ public class TcpDiscoverySpi extends IgniteSpiAdapter implements IgniteDiscovery
     protected long netTimeout = DFLT_NETWORK_TIMEOUT;
 
     /** Join timeout. */
-    @SuppressWarnings("RedundantFieldInitialization")
     protected long joinTimeout = DFLT_JOIN_TIMEOUT;
 
     /** Thread priority for all threads started by SPI. */
@@ -361,21 +359,18 @@ public class TcpDiscoverySpi extends IgniteSpiAdapter implements IgniteDiscovery
     protected int locPortRange = DFLT_PORT_RANGE;
 
     /** Reconnect attempts count. */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
     private int reconCnt = DFLT_RECONNECT_CNT;
 
     /** Delay between attempts to connect to the cluster. */
     private long reconDelay = DFLT_RECONNECT_DELAY;
 
     /** Statistics print frequency. */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized", "RedundantFieldInitialization"})
     protected long statsPrintFreq = DFLT_STATS_PRINT_FREQ;
 
     /** Maximum message acknowledgement timeout. */
     private long maxAckTimeout = DFLT_MAX_ACK_TIMEOUT;
 
     /** IP finder clean frequency. */
-    @SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
     protected long ipFinderCleanFreq = DFLT_IP_FINDER_CLEAN_FREQ;
 
     /** Node authenticator. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java
index f074119..5c7f4c7 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java
@@ -189,7 +189,6 @@ public class AlwaysFailoverSpi extends IgniteSpiAdapter implements FailoverSpi {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("unchecked")
     @Override public ClusterNode failover(FailoverContext ctx, List<ClusterNode> top) {
         assert ctx != null;
         assert top != null;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/spi/failover/jobstealing/JobStealingFailoverSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/failover/jobstealing/JobStealingFailoverSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/failover/jobstealing/JobStealingFailoverSpi.java
index 3ef32ab..a4b5190 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/failover/jobstealing/JobStealingFailoverSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/failover/jobstealing/JobStealingFailoverSpi.java
@@ -214,7 +214,6 @@ public class JobStealingFailoverSpi extends IgniteSpiAdapter implements Failover
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings("unchecked")
     @Override public ClusterNode failover(FailoverContext ctx, List<ClusterNode> top) {
         assert ctx != null;
         assert top != null;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/startup/cmdline/AboutDialog.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/AboutDialog.java b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/AboutDialog.java
index b6fe276..3334bca 100644
--- a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/AboutDialog.java
+++ b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/AboutDialog.java
@@ -328,7 +328,6 @@ public class AboutDialog extends JDialog {
     public static void centerShow(final String appName, final String bannerSpec,
         final String ver, final Date release, final String copyright) {
         SwingUtilities.invokeLater(new Runnable() {
-            @SuppressWarnings("NonThreadSafeLazyInitialization")
             @Override public void run() {
                 if (aboutDlg == null) {
                     try {

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineStartup.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineStartup.java b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineStartup.java
index 821af8a..5decdda 100644
--- a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineStartup.java
+++ b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineStartup.java
@@ -194,7 +194,6 @@ public final class CommandLineStartup {
      * @param arg Command line argument.
      * @return {@code true} if given argument is a help argument, {@code false} otherwise.
      */
-    @SuppressWarnings({"IfMayBeConditional"})
     private static boolean isHelp(String arg) {
         String s;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineTransformer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineTransformer.java b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineTransformer.java
index b98e8b9..f4aad17 100644
--- a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineTransformer.java
+++ b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CommandLineTransformer.java
@@ -38,7 +38,6 @@ import java.util.List;
  *
  * @see <a href="http://jcommander.org/">JCommander command line parameters parsing library</a>
  */
-@SuppressWarnings("FieldCanBeLocal")
 public class CommandLineTransformer {
     /** Prefix for every custom JVM option. */
     static final String JVM_OPTION_PREFIX = "-J";

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionBackupFilterAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionBackupFilterAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionBackupFilterAbstractSelfTest.java
index 74add0c..3f7a710 100644
--- a/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionBackupFilterAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionBackupFilterAbstractSelfTest.java
@@ -242,7 +242,6 @@ public abstract class AffinityFunctionBackupFilterAbstractSelfTest extends GridC
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("ConstantConditions")
     private void checkPartitionsWithAffinityBackupFilter() throws Exception {
         AffinityFunction aff = cacheConfiguration(grid(0).configuration(), DEFAULT_CACHE_NAME).getAffinity();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionExcludeNeighborsAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionExcludeNeighborsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionExcludeNeighborsAbstractSelfTest.java
index eee47c7..6df7850 100644
--- a/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionExcludeNeighborsAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/cache/affinity/AffinityFunctionExcludeNeighborsAbstractSelfTest.java
@@ -42,7 +42,6 @@ import static org.apache.ignite.cache.CacheRebalanceMode.NONE;
 /**
  * Partitioned affinity test.
  */
-@SuppressWarnings({"PointlessArithmeticExpression", "FieldCanBeLocal"})
 public abstract class AffinityFunctionExcludeNeighborsAbstractSelfTest extends GridCommonAbstractTest {
     /** Number of backups. */
     private int backups = 2;

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/ClusterNodeMetricsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/ClusterNodeMetricsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/ClusterNodeMetricsSelfTest.java
index b77e463..22bb07f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/ClusterNodeMetricsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/ClusterNodeMetricsSelfTest.java
@@ -472,7 +472,6 @@ public class ClusterNodeMetricsSelfTest extends GridCommonAbstractTest {
     /**
      * Test message.
      */
-    @SuppressWarnings("UnusedDeclaration")
     private static class TestMessage implements Serializable {
         /** */
         private final byte[] arr = new byte[MSG_SIZE];

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityP2PSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityP2PSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityP2PSelfTest.java
index 7061e75..a87e5d3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityP2PSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityP2PSelfTest.java
@@ -79,7 +79,6 @@ public class GridAffinityP2PSelfTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @SuppressWarnings({"unchecked"})
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         IgniteConfiguration c = super.getConfiguration(igniteInstanceName);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/GridAlwaysFailoverSpiFailSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridAlwaysFailoverSpiFailSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridAlwaysFailoverSpiFailSelfTest.java
index c62c840..6fd8a8a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridAlwaysFailoverSpiFailSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridAlwaysFailoverSpiFailSelfTest.java
@@ -62,7 +62,6 @@ public class GridAlwaysFailoverSpiFailSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"UnusedCatchParameter", "ThrowableInstanceNeverThrown"})
     public void testFailoverTask() throws Exception {
         isFailoverCalled = false;
 
@@ -86,7 +85,6 @@ public class GridAlwaysFailoverSpiFailSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"UnusedCatchParameter", "ThrowableInstanceNeverThrown"})
     public void testNoneFailoverTask() throws Exception {
         isFailoverCalled = false;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/GridCancelUnusedJobSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridCancelUnusedJobSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridCancelUnusedJobSelfTest.java
index 917f1f8..0aa340c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridCancelUnusedJobSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridCancelUnusedJobSelfTest.java
@@ -88,7 +88,6 @@ public class GridCancelUnusedJobSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("unchecked")
     public void testCancel() throws Exception {
         Ignite ignite = G.ignite(getTestIgniteInstanceName());
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/GridDeploymentSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridDeploymentSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridDeploymentSelfTest.java
index 9bd6fa5..8f53fb4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridDeploymentSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridDeploymentSelfTest.java
@@ -47,7 +47,6 @@ import static org.apache.ignite.events.EventType.EVT_TASK_UNDEPLOYED;
 /**
  * Task deployment tests.
  */
-@SuppressWarnings("unchecked")
 @GridCommonTest(group = "Kernal Self")
 public class GridDeploymentSelfTest extends GridCommonAbstractTest {
     /** */
@@ -96,7 +95,6 @@ public class GridDeploymentSelfTest extends GridCommonAbstractTest {
     /**
      * @param ignite Grid.
      */
-    @SuppressWarnings({"CatchGenericClass"})
     private void stopGrid(Ignite ignite) {
         try {
             if (ignite != null)

http://git-wip-us.apache.org/repos/asf/ignite/blob/9e35993c/modules/core/src/test/java/org/apache/ignite/internal/GridDiscoverySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridDiscoverySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridDiscoverySelfTest.java
index 174af58..67ab438 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridDiscoverySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridDiscoverySelfTest.java
@@ -122,7 +122,6 @@ public class GridDiscoverySelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings({"SuspiciousMethodCalls"})
     public void testGetLocalNode() throws Exception {
         ClusterNode node = ignite.cluster().localNode();
 
@@ -351,7 +350,6 @@ public class GridDiscoverySelfTest 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/internal/GridEventStorageRuntimeConfigurationSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageRuntimeConfigurationSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageRuntimeConfigurationSelfTest.java
index 97626c8..cf401c5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageRuntimeConfigurationSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageRuntimeConfigurationSelfTest.java
@@ -188,7 +188,6 @@ public class GridEventStorageRuntimeConfigurationSelfTest extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
-    @SuppressWarnings("UnusedDeclaration")
     public void testInvalidTypes() throws Exception {
         inclEvtTypes = new int[]{EVT_TASK_STARTED};
 


Mime
View raw message