This is an automated email from the ASF dual-hosted git repository.

NSAmelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a34dbb8c4a IGNITE-29122 Fix javac and javadoc warnings in the build 
log (#13671)
8a34dbb8c4a is described below

commit 8a34dbb8c4a2d3d40e547cd38cdcabfd6b559cb5
Author: Nikita Amelchev <[email protected]>
AuthorDate: Fri Oct 9 22:45:11 2026 +0300

    IGNITE-29122 Fix javac and javadoc warnings in the build log (#13671)
---
 .../processors/query/calcite/exec/exp/ExpressionFactory.java      | 2 +-
 .../processors/query/calcite/exec/exp/IgniteSqlFunctions.java     | 6 +++---
 .../internal/processors/query/calcite/prepare/FieldsMetadata.java | 2 +-
 .../query/calcite/sql/fun/IgniteOwnSqlOperatorTable.java          | 2 +-
 .../processors/query/calcite/integration/PartitionPruneTest.java  | 2 +-
 .../apache/ignite/internal/thread/context/OperationContext.java   | 4 ++--
 .../main/java/org/apache/ignite/internal/util/CommonUtils.java    | 2 +-
 .../src/main/java/org/apache/ignite/internal/util/typedef/X.java  | 6 +++---
 .../commons/src/main/java/org/jsr166/ConcurrentLinkedHashMap.java | 2 +-
 .../org/apache/ignite/internal/commandline/CommandHandler.java    | 4 ++--
 .../test/java/org/apache/ignite/util/GridCommandHandlerTest.java  | 2 +-
 modules/core/src/main/java/org/apache/ignite/Ignite.java          | 1 +
 modules/core/src/main/java/org/apache/ignite/IgniteCache.java     | 1 +
 .../src/main/java/org/apache/ignite/IgniteSystemProperties.java   | 1 +
 .../java/org/apache/ignite/configuration/IgniteConfiguration.java | 1 +
 .../org/apache/ignite/configuration/TransactionConfiguration.java | 1 +
 .../query/index/sorted/inline/InlineObjectBytesDetector.java      | 2 +-
 .../cache/query/index/sorted/inline/types/DateValueUtils.java     | 2 +-
 .../apache/ignite/internal/processors/cache/IgniteCacheProxy.java | 2 +-
 .../ignite/internal/processors/cache/IgniteCacheProxyImpl.java    | 2 +-
 .../ignite/internal/processors/cache/IgniteInternalCache.java     | 6 +++---
 .../ignite/internal/processors/cache/PartitionUpdateCounter.java  | 2 +-
 .../org/apache/ignite/internal/processors/cache/package-info.java | 2 +-
 .../internal/processors/cache/persistence/StorageException.java   | 2 +-
 .../apache/ignite/internal/processors/cache/query/CacheQuery.java | 3 ++-
 .../internal/processors/odbc/jdbc/JdbcBulkLoadProcessor.java      | 4 ++--
 .../internal/processors/query/running/HeavyQueriesTracker.java    | 4 ++--
 .../ignite/internal/processors/query/running/SqlQueryMXBean.java  | 4 ++--
 .../internal/processors/query/stat/StatisticsProcessor.java       | 2 +-
 .../query/stat/hll/serialization/SerializationUtil.java           | 2 +-
 .../apache/ignite/internal/util/GridConcurrentMultiPairQueue.java | 6 +++---
 .../main/java/org/apache/ignite/internal/util/IgniteUtils.java    | 2 +-
 .../ignite/cache/store/IgniteCacheExpiryStoreLoadSelfTest.java    | 8 ++++----
 .../src/test/java/org/apache/ignite/client/ConnectionTest.java    | 2 +-
 .../processors/cache/GridCacheFastNodeLeftForTransactionTest.java | 2 +-
 .../cache/persistence/db/wal/WalDeletionArchiveAbstractTest.java  | 4 +---
 .../persistence/snapshot/IgniteClusterSnapshotStreamerTest.java   | 2 +-
 .../cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java  | 2 +-
 .../ignite/development/utils/IgniteWalConverterArgumentsTest.java | 2 +-
 .../internal/processors/query/h2/sys/view/SystemViewLocal.java    | 2 +-
 .../internal/processors/query/h2/sql/BaseH2CompareQueryTest.java  | 2 +-
 .../internal/processors/query/stat/StatisticsAbstractTest.java    | 2 +-
 .../rest/protocols/http/jetty/GridJettyRestHandler.java           | 4 ++--
 modules/tools/src/main/java/org/apache/ignite/tools/junit/X.java  | 6 +++---
 parent/pom.xml                                                    | 8 +++++---
 45 files changed, 69 insertions(+), 63 deletions(-)

diff --git 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/ExpressionFactory.java
 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/ExpressionFactory.java
index 3fe58949d01..ecdccedd49e 100644
--- 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/ExpressionFactory.java
+++ 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/ExpressionFactory.java
@@ -60,7 +60,7 @@ public interface ExpressionFactory<Row> {
      *
      * @param left Collations of left row.
      * @param right Collations of right row.
-     * @param allowNulls Matching null fields. Usually, NULL <> NULL in SQL. 
Except IS DISTINCT / IS NOT DISTINCT.
+     * @param allowNulls Matching null fields. Usually, {@code NULL <> NULL} 
in SQL. Except IS DISTINCT / IS NOT DISTINCT.
      * @return Rows comparator.
      */
     Comparator<Row> comparator(
diff --git 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/IgniteSqlFunctions.java
 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/IgniteSqlFunctions.java
index be9dc99330d..d8766ca51e9 100644
--- 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/IgniteSqlFunctions.java
+++ 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/IgniteSqlFunctions.java
@@ -311,7 +311,7 @@ public class IgniteSqlFunctions {
         return SqlFunctions.gtAny(a, b);
     }
 
-    /** SQL <=. */
+    /** SQL {@code <=}. */
     public static boolean leAny(Object a, Object b) {
         if (Commons.isBinaryComparable(a, b))
             return Commons.compareBinary(a, b) <= 0;
@@ -319,7 +319,7 @@ public class IgniteSqlFunctions {
         return SqlFunctions.leAny(a, b);
     }
 
-    /** SQL <. */
+    /** SQL {@code <}. */
     public static boolean ltAny(Object a, Object b) {
         if (Commons.isBinaryComparable(a, b))
             return Commons.compareBinary(a, b) < 0;
@@ -335,7 +335,7 @@ public class IgniteSqlFunctions {
         return SqlFunctions.eqAny(a, b);
     }
 
-    /** SQL <>. */
+    /** SQL {@code <>}. */
     public static boolean neAny(Object a, Object b) {
         if (Commons.isBinaryComparable(a, b))
             return Commons.compareBinary(a, b) != 0;
diff --git 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/FieldsMetadata.java
 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/FieldsMetadata.java
index 5164878d4d5..d6fa831b4fe 100644
--- 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/FieldsMetadata.java
+++ 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/FieldsMetadata.java
@@ -33,7 +33,7 @@ public interface FieldsMetadata {
 
     /**
      * @param typeFactory Type factory.
-     * @return Query field descriptors collection&
+     * @return Query field descriptors collection.
      */
     List<GridQueryFieldMetadata> queryFieldsMetadata(IgniteTypeFactory 
typeFactory);
 }
diff --git 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/sql/fun/IgniteOwnSqlOperatorTable.java
 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/sql/fun/IgniteOwnSqlOperatorTable.java
index d5a7dd434e3..be4f7d05d05 100644
--- 
a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/sql/fun/IgniteOwnSqlOperatorTable.java
+++ 
b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/sql/fun/IgniteOwnSqlOperatorTable.java
@@ -126,7 +126,7 @@ public class IgniteOwnSqlOperatorTable extends 
ReflectiveSqlOperatorTable {
             OperandTypes.SAME_SAME,
             SqlFunctionCategory.SYSTEM);
 
-    /** Bitwise '&' of two values. */
+    /** Bitwise {@code &} of two values. */
     public static final SqlFunction BITAND =
         new SqlFunction(
             "BITAND",
diff --git 
a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/PartitionPruneTest.java
 
b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/PartitionPruneTest.java
index 4b363c76abc..e79fc4757c8 100644
--- 
a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/PartitionPruneTest.java
+++ 
b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/PartitionPruneTest.java
@@ -436,7 +436,7 @@ public class PartitionPruneTest extends 
AbstractBasicIntegrationTest {
                     res.stream().map(row -> 
row.get(0)).sorted().collect(Collectors.toList())
                 );
             },
-            IntStream.of(values).boxed().toArray(Integer[]::new));
+            IntStream.of(values).boxed().toArray());
     }
 
     /** */
diff --git 
a/modules/commons/src/main/java/org/apache/ignite/internal/thread/context/OperationContext.java
 
b/modules/commons/src/main/java/org/apache/ignite/internal/thread/context/OperationContext.java
index 2b98393d25d..fa340ce2b4f 100644
--- 
a/modules/commons/src/main/java/org/apache/ignite/internal/thread/context/OperationContext.java
+++ 
b/modules/commons/src/main/java/org/apache/ignite/internal/thread/context/OperationContext.java
@@ -31,13 +31,13 @@ import static 
org.apache.ignite.internal.thread.context.Scope.NOOP_SCOPE;
  * Represents a storage of {@link OperationContextAttribute}s and their 
corresponding values bound to the JVM thread.
  * The state of {@link OperationContext} is determined by a sequence of {@link 
Update}s applied to it. Each Update
  * stores the updated or newly added {@link OperationContextAttribute} values 
and link to the previous Update.
- * <pre>
+ * <pre>{@code
  *         +-----------+   +-----------+
  *         |           |   | A1 -> V2  |
  * null <--| A1 -> V1  |<--|           |
  *         |           |   | A2 -> V3  |
  *         +-----------+   +-----------+
- *</pre>
+ * }</pre>
  * {@link OperationContext} Updates can be undone in the same order they were 
applied by closing the {@link Scope}
  * associated with each update (see {@link #set(OperationContextAttribute, 
Object)} and related methods).
  *<p>
diff --git 
a/modules/commons/src/main/java/org/apache/ignite/internal/util/CommonUtils.java
 
b/modules/commons/src/main/java/org/apache/ignite/internal/util/CommonUtils.java
index cb2c770007f..e28d00314c4 100644
--- 
a/modules/commons/src/main/java/org/apache/ignite/internal/util/CommonUtils.java
+++ 
b/modules/commons/src/main/java/org/apache/ignite/internal/util/CommonUtils.java
@@ -1259,7 +1259,7 @@ public abstract class CommonUtils {
     public static void quietMultipleLines(boolean err, String multiline) {
         assert multiline != null;
 
-        quiet(err, multiline.split(NL));
+        quiet(err, (Object[])multiline.split(NL));
     }
 
     /**
diff --git 
a/modules/commons/src/main/java/org/apache/ignite/internal/util/typedef/X.java 
b/modules/commons/src/main/java/org/apache/ignite/internal/util/typedef/X.java
index 3b2cc43bee8..b3b613d086d 100644
--- 
a/modules/commons/src/main/java/org/apache/ignite/internal/util/typedef/X.java
+++ 
b/modules/commons/src/main/java/org/apache/ignite/internal/util/typedef/X.java
@@ -92,7 +92,7 @@ public final class X {
         Method causeMtd;
 
         try {
-            causeMtd = Throwable.class.getMethod("getCause", null);
+            causeMtd = Throwable.class.getMethod("getCause");
         }
         catch (Exception ignored) {
             causeMtd = null;
@@ -615,7 +615,7 @@ public final class X {
         Method mtd = null;
 
         try {
-            mtd = throwable.getClass().getMethod(mtdName, null);
+            mtd = throwable.getClass().getMethod(mtdName);
         }
         catch (NoSuchMethodException | SecurityException ignored) {
             // exception ignored
@@ -694,7 +694,7 @@ public final class X {
         Class<?> cls = throwable.getClass();
         for (String CAUSE_MTD_NAME : CAUSE_MTD_NAMES) {
             try {
-                Method mtd = cls.getMethod(CAUSE_MTD_NAME, null);
+                Method mtd = cls.getMethod(CAUSE_MTD_NAME);
 
                 if (mtd != null && 
Throwable.class.isAssignableFrom(mtd.getReturnType()))
                     return true;
diff --git 
a/modules/commons/src/main/java/org/jsr166/ConcurrentLinkedHashMap.java 
b/modules/commons/src/main/java/org/jsr166/ConcurrentLinkedHashMap.java
index 1c09c218067..ab0700cb41f 100644
--- a/modules/commons/src/main/java/org/jsr166/ConcurrentLinkedHashMap.java
+++ b/modules/commons/src/main/java/org/jsr166/ConcurrentLinkedHashMap.java
@@ -140,7 +140,7 @@ public class ConcurrentLinkedHashMap<K, V> extends 
AbstractMap<K, V> implements
     /**
      * The maximum capacity, used if a higher value is implicitly
      * specified by either of the constructors with arguments.  MUST
-     * be a power of two <= 1<<30 to ensure that entries are indexable
+     * be a power of two {@code <= 1<<30} to ensure that entries are indexable
      * using ints.
      */
     public static final int MAX_CAP_LIMIT = 1 << 30;
diff --git 
a/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/CommandHandler.java
 
b/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/CommandHandler.java
index 4d7230eb0a6..ce9e31c46df 100644
--- 
a/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/CommandHandler.java
+++ 
b/modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/CommandHandler.java
@@ -608,7 +608,7 @@ public class CommandHandler {
         logger.info("");
 
         logger.info(INDENT + join(" ",
-            join(" ", UTILITY_NAME, join(" ", new ArgumentParser(logger, 
registry, null).getCommonOptions())),
+            join(" ", UTILITY_NAME, join(" ", (Object[])new 
ArgumentParser(logger, registry, null).getCommonOptions())),
             asOptional("command", true), "<command_parameters>"));
         logger.info("");
         logger.info("");
@@ -674,7 +674,7 @@ public class CommandHandler {
         logger.info(INDENT + "The '--cache subcommand' is used to get 
information about and perform actions" +
             " with caches. The command has the following syntax:");
         logger.info("");
-        logger.info(INDENT + join(" ", UTILITY_NAME, join(" ", new 
ArgumentParser(logger, null, null).getCommonOptions())) +
+        logger.info(INDENT + join(" ", UTILITY_NAME, join(" ", (Object[])new 
ArgumentParser(logger, null, null).getCommonOptions())) +
             " --cache [subcommand] <subcommand_parameters>");
         logger.info("");
         logger.info(INDENT + "The subcommands that take [nodeId] as an 
argument ('list', 'find_garbage', " +
diff --git 
a/modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java
 
b/modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java
index b5f2659b1fa..2630f58ee43 100644
--- 
a/modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java
+++ 
b/modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java
@@ -1756,7 +1756,7 @@ public class GridCommandHandlerTest extends 
GridCommandHandlerClusterPerMethodAb
                     if (id != 0)
                         U.awaitQuiet(lockLatch);
 
-                    cache.invoke(0L, new IncrementClosure(), null);
+                    cache.invoke(0L, new IncrementClosure());
 
                     if (id == 0) {
                         lockLatch.countDown();
diff --git a/modules/core/src/main/java/org/apache/ignite/Ignite.java 
b/modules/core/src/main/java/org/apache/ignite/Ignite.java
index f49dbbd14da..5dbc48c5ac7 100644
--- a/modules/core/src/main/java/org/apache/ignite/Ignite.java
+++ b/modules/core/src/main/java/org/apache/ignite/Ignite.java
@@ -753,6 +753,7 @@ public interface Ignite extends AutoCloseable {
      * @return Collection of {@link DataRegionMetrics} snapshots.
      * @deprecated Check the {@link ReadOnlyMetricRegistry} with 
"name=io.dataregion.{data_region_name}" instead.
      */
+    @Deprecated
     public Collection<DataRegionMetrics> dataRegionMetrics();
 
     /**
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java 
b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
index da39381ff47..718c24f441a 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
@@ -399,6 +399,7 @@ public interface IgniteCache<K, V> extends 
javax.cache.Cache<K, V>, IgniteAsyncS
      * @deprecated It is recommended to use {@link 
Ignite#reentrantLock(String, boolean, boolean, boolean)} instead.
      *      This method will be removed in future releases.
      */
+    @Deprecated
     public Lock lockAll(Collection<? extends K> keys);
 
     /**
diff --git 
a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java 
b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
index da5fb38349c..611195665f1 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java
@@ -1212,6 +1212,7 @@ public final class IgniteSystemProperties extends 
IgniteCommonsSystemProperties
      *
      * @deprecated Use {@link DataStorageConfiguration#setMinWalArchiveSize}.
      */
+    @Deprecated
     @SystemProperty(value = "Property for setup percentage of WAL archive size 
to calculate threshold since which " +
         "removing of old archive should be started", type = Double.class)
     public static final String IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE =
diff --git 
a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
 
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index 244a54c9470..f39d792f924 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -2444,6 +2444,7 @@ public class IgniteConfiguration implements 
IgniteConfigurationDefaults {
      * @deprecated The Ignite Tracing is deprecated and subject to removal in 
a future release. Ignite Tracing has been
      * retired in favor of Ignite Performance Statistics and Ignite Metrics.
      */
+    @Deprecated(forRemoval = true)
     public TracingSpi getTracingSpi() {
         return NoopTracingSpi.INSTANCE;
     }
diff --git 
a/modules/core/src/main/java/org/apache/ignite/configuration/TransactionConfiguration.java
 
b/modules/core/src/main/java/org/apache/ignite/configuration/TransactionConfiguration.java
index a231f479690..44668ad6aeb 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/configuration/TransactionConfiguration.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/configuration/TransactionConfiguration.java
@@ -59,6 +59,7 @@ public class TransactionConfiguration implements Serializable 
{
       * Default size of pessimistic transactions log.
       * @deprecated Pessimistic tx log linger property has no effect.
       */
+    @Deprecated
     public static final int DFLT_PESSIMISTIC_TX_LOG_LINGER = 10_000;
 
     /** Default transaction serializable flag. */
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/InlineObjectBytesDetector.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/InlineObjectBytesDetector.java
index d10140c99ee..3d445526762 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/InlineObjectBytesDetector.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/InlineObjectBytesDetector.java
@@ -167,7 +167,7 @@ public class InlineObjectBytesDetector implements 
BPlusTree.TreeRowClosure<Index
 
     /**
      * Static analyze inline_size and inline columns set.
-     * e.g.: indexed: (long, obj) and inline_size < 12.
+     * e.g.: indexed: (long, obj) and {@code inline_size < 12}.
      * In this case there is no space for inline object.
      *
      * @param keyDefs Index key definition.
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/types/DateValueUtils.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/types/DateValueUtils.java
index 49d5a87a81d..053382a2653 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/types/DateValueUtils.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/types/DateValueUtils.java
@@ -31,7 +31,7 @@ import java.util.concurrent.TimeUnit;
 /**
  * DateValue is a representation of a date in bit form:
  *
- * dv = (year << SHIFT_YEAR) | (month << SHIFT_MONTH) | day.
+ * {@code dv = (year << SHIFT_YEAR) | (month << SHIFT_MONTH) | day}.
  */
 public class DateValueUtils {
     /** Calendar with UTC time zone instance. */
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
index 92971485a50..32e5279e48f 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxy.java
@@ -63,7 +63,7 @@ public interface IgniteCacheProxy<K, V> extends 
IgniteCache<K, V>, Externalizabl
      * <p> For example, if you use {@link Integer} as a key and {@code Value} 
class as a value (which will be
      * stored in binary format), you should acquire following projection to 
avoid deserialization:
      * <pre>
-     * IgniteInternalCache<Integer, GridBinaryObject> prj = cache.keepBinary();
+     * IgniteInternalCache&lt;Integer, GridBinaryObject&gt; prj = 
cache.keepBinary();
      *
      * // Value is not deserialized and returned in binary format.
      * GridBinaryObject po = prj.get(1);
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyImpl.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyImpl.java
index 50e71d5807e..156380c2985 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyImpl.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheProxyImpl.java
@@ -1984,7 +1984,7 @@ public class IgniteCacheProxyImpl<K, V> extends 
AsyncSupportAdapter<IgniteCache<
      * <p> For example, if you use {@link Integer} as a key and {@code Value} 
class as a value (which will be
      * stored in binary format), you should acquire following projection to 
avoid deserialization:
      * <pre>
-     * IgniteInternalCache<Integer, GridBinaryObject> prj = cache.keepBinary();
+     * IgniteInternalCache&lt;Integer, GridBinaryObject&gt; prj = 
cache.keepBinary();
      *
      * // Value is not deserialized and returned in binary format.
      * GridBinaryObject po = prj.get(1);
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteInternalCache.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteInternalCache.java
index f98849c6761..925ac9c3bf5 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteInternalCache.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteInternalCache.java
@@ -180,7 +180,7 @@ import org.jetbrains.annotations.Nullable;
  * that class definitions are present in the classpath). By default, cache 
works with deserialized form
  * (example shows the case when {@link Integer} is used as a key for a binary 
object):
  * <pre>
- * IgniteInternalCache<Integer, Value> prj = Ignition.grid().cache(null);
+ * IgniteInternalCache&lt;Integer, Value&gt; prj = Ignition.grid().cache(null);
  *
  * // Value will be serialized and stored in cache in binary format.
  * prj.put(1, new Value());
@@ -193,7 +193,7 @@ import org.jetbrains.annotations.Nullable;
  * needed for performance reasons. To work with binary format directly you 
should create special projection
  * using {@link #keepBinary()} method:
  * <pre>
- * IgniteInternalCache<Integer, GridBinaryObject> prj = 
Ignition.grid().cache(null).keepBinary();
+ * IgniteInternalCache&lt;Integer, GridBinaryObject&gt; prj = 
Ignition.grid().cache(null).keepBinary();
  *
  * // Value is not deserialized and returned in binary format.
  * GridBinaryObject po = prj.get(1);
@@ -258,7 +258,7 @@ public interface IgniteInternalCache<K, V> extends 
Iterable<Cache.Entry<K, V>> {
      * (which will be stored in binary format), you should acquire following 
projection
      * to avoid deserialization:
      * <pre>
-     * IgniteInternalCache<Integer, GridBinaryObject> prj = cache.keepBinary();
+     * IgniteInternalCache&lt;Integer, GridBinaryObject&gt; prj = 
cache.keepBinary();
      *
      * // Value is not deserialized and returned in binary format.
      * GridBinaryObject po = prj.get(1);
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/PartitionUpdateCounter.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/PartitionUpdateCounter.java
index 2475770b6ca..8a08fcf14fd 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/PartitionUpdateCounter.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/PartitionUpdateCounter.java
@@ -98,7 +98,7 @@ public interface PartitionUpdateCounter extends 
Iterable<long[]> {
     /**
      * Applies counter update out of range. Update ranges must not intersect.
      *
-     * @param start Start (<= lwm).
+     * @param start Start ({@code <= lwm}).
      * @param delta Delta.
      * @return {@code True} if update was actually applied.
      */
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/package-info.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/package-info.java
index b7e27a7b20d..9ba189d71bb 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/package-info.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/package-info.java
@@ -16,7 +16,7 @@
  */
 
 /**
- * This package contain cache-related processors & persistence implementation. 
<br>
+ * This package contain cache-related processors and persistence 
implementation. <br>
  * See also <a href="
  * 
https://github.com/apache/ignite/tree/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache";>
  * GitHub Package Readme</a>
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/StorageException.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/StorageException.java
index 509dee6264d..cc605ede819 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/StorageException.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/StorageException.java
@@ -23,7 +23,7 @@ import org.apache.ignite.internal.InvalidEnvironmentException;
 import org.jetbrains.annotations.NotNull;
 
 /**
- * Exception is needed to distinguish WAL manager & page store critical I/O 
errors.
+ * Exception is needed to distinguish WAL manager and page store critical I/O 
errors.
  */
 public class StorageException extends IgniteCheckedException implements 
InvalidEnvironmentException {
     /** */
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQuery.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQuery.java
index e9cfcb2fd82..ed2e26c90b2 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQuery.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/CacheQuery.java
@@ -231,7 +231,8 @@ import static 
org.apache.ignite.internal.processors.cache.query.GridCacheQueryTy
  *     new org.locationtech.jts.geom.Coordinate(0, 0)
  * });
  *
- * Map.Entry<String, UserData> records = 
cache.queries().createSqlQuery(MapPoint.class, "select * from MapPoint where 
location && ?")
+ * Map.Entry&lt;String, UserData&gt; records = cache.queries()
+ *     .createSqlQuery(MapPoint.class, "select * from MapPoint where location 
&amp;&amp; ?")
  *     .queryArguments(square)
  *     .execute()
  *     .get();
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcBulkLoadProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcBulkLoadProcessor.java
index d8c229c41ad..7d915300b7f 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcBulkLoadProcessor.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcBulkLoadProcessor.java
@@ -33,7 +33,7 @@ import static 
org.apache.ignite.internal.processors.odbc.jdbc.JdbcBulkLoadBatchR
  * Unlike other "single shot" request-reply commands, the
  * COPY command the client-server interaction looks like this:
  *
- * <pre>
+ * <pre>{@code
  * Thin JDBC client                            Server
  *        |                                       |
  *        |------- JdbcQueryExecuteRequest ------>|
@@ -66,7 +66,7 @@ import static 
org.apache.ignite.internal.processors.odbc.jdbc.JdbcBulkLoadBatchR
  *        |                                       |
  * (close the file)                               |
  *        |                                       |
- * </pre>
+ * }</pre>
  *
  * In case of input file reading error, a flag is carried to the server:
  * {@link JdbcBulkLoadBatchRequest#CMD_FINISHED_ERROR} and the processing
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/HeavyQueriesTracker.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/HeavyQueriesTracker.java
index 72ca9731ecf..d05f5fb3b19 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/HeavyQueriesTracker.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/HeavyQueriesTracker.java
@@ -204,7 +204,7 @@ public final class HeavyQueriesTracker {
      * - timeout * multiplier;
      * - timeout * multiplier * multiplier;
      * - etc...
-     * If the multiplier <= 1, the warning message is printed once.
+     * If the multiplier {@code <= 1}, the warning message is printed once.
      *
      * @param timeoutMult Long query timeout multiplier.
      */
@@ -237,7 +237,7 @@ public final class HeavyQueriesTracker {
      *  - size of result set > threshold * multiplier;
      *  - size of result set > threshold * multiplier * multiplier;
      *  - etc.
-     * If the multiplier <= 1, the warning message is printed once.
+     * If the multiplier {@code <= 1}, the warning message is printed once.
      * @return Result set size threshold multiplier.
      */
     public int getResultSetSizeThresholdMultiplier() {
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/SqlQueryMXBean.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/SqlQueryMXBean.java
index 06233e65743..d077b6eea6d 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/SqlQueryMXBean.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/SqlQueryMXBean.java
@@ -63,7 +63,7 @@ public interface SqlQueryMXBean {
      *      - timeout * multiplier;
      *      - timeout * multiplier * multiplier;
      *      - etc.
-     * If the multiplier <= 1, the warning message is printed once.
+     * If the multiplier {@code <= 1}, the warning message is printed once.
      *
      * @param longQueryTimeoutMultiplier Long query timeout multiplier.
      */
@@ -102,7 +102,7 @@ public interface SqlQueryMXBean {
      *  - size of result set > threshold * multiplier;
      *  - size of result set > threshold * multiplier * multiplier;
      *  - etc.
-     * If the multiplier <= 1, the warning message is printed once during 
query execution and the next one on the query end.
+     * If the multiplier {@code <= 1}, the warning message is printed once 
during query execution and the next one on the query end.
      *
      * @return Result set size threshold multiplier.
      */
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/StatisticsProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/StatisticsProcessor.java
index 7e662e6d29d..7bef91372e6 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/StatisticsProcessor.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/StatisticsProcessor.java
@@ -84,7 +84,7 @@ public class StatisticsProcessor {
      * 2) If byObsolescence and no table awailable - clean obsolescence and 
partition statistics for the given key.
      * 3) Submit tasks for each specified partition.
      * 4) after last task finish gathering - it starts aggregation.
-     * 5) read all partitions & obsolescence from repo and
+     * 5) read all partitions and obsolescence from repo and
      * if byObsolescence = {@code true} - remove unnecessary one and aggregate 
by specified list
      * if byObsolescence = {@code false} - aggregate all presented in store 
(because it should contains only actual ones)
      * 5) save aggregated local statistics
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/hll/serialization/SerializationUtil.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/hll/serialization/SerializationUtil.java
index 211593d59ff..7ee30d89cbb 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/hll/serialization/SerializationUtil.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/hll/serialization/SerializationUtil.java
@@ -173,7 +173,7 @@ public class SerializationUtil {
      *             If 'auto' is chosen, this value should be <code>63</code>.
      *           </li>
      *           <li>
-     *             If a cutoff of 2<sup>n</sup> is desired, for <code>0 <= n < 
31</code>,
+     *             If a cutoff of 2<sup>n</sup> is desired, for {@code 0 <= n 
< 31},
      *             this value should be <code>n + 1</code>.
      *           </li>
      *         </ul>
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentMultiPairQueue.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentMultiPairQueue.java
index dcc637efeea..1bbb19aa315 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentMultiPairQueue.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/util/GridConcurrentMultiPairQueue.java
@@ -29,9 +29,9 @@ import org.apache.ignite.internal.util.typedef.internal.S;
  * Concurrent queue that wraps collection of {@code Pair<K, V[]>}
  * The only garantee {@link #next} provided is sequentially emptify values per 
key array.
  * i.e. input like: <br>
- * p1 = new Pair<1, [1, 3, 5, 7]> <br>
- * p2 = new Pair<2, [2, 3]> <br>
- * p3 = new Pair<3, [200, 100]> <br>
+ * {@code p1 = new Pair<1, [1, 3, 5, 7]>} <br>
+ * {@code p2 = new Pair<2, [2, 3]>} <br>
+ * {@code p3 = new Pair<3, [200, 100]>} <br>
  * and further sequence of {@code poll} or {@code forEach} calls may produce 
output like: <br>
  * [3, 200], [3, 100], [1, 1], [1, 3], [1, 5], [1, 7], [2, 2], [2, 3]
  *
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 5b87447a848..40779934a03 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
@@ -2230,7 +2230,7 @@ public abstract class IgniteUtils extends CommonUtils {
     }
 
     /**
-     * Copy source file (or folder) to destination file (or folder). Supported 
source & destination:
+     * Copy source file (or folder) to destination file (or folder). Supported 
source and destination:
      * <ul>
      * <li>File to File</li>
      * <li>File to Folder</li>
diff --git 
a/modules/core/src/test/java/org/apache/ignite/cache/store/IgniteCacheExpiryStoreLoadSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/cache/store/IgniteCacheExpiryStoreLoadSelfTest.java
index a5fbe821f4b..578503905f5 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/cache/store/IgniteCacheExpiryStoreLoadSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/cache/store/IgniteCacheExpiryStoreLoadSelfTest.java
@@ -108,9 +108,9 @@ public class IgniteCacheExpiryStoreLoadSelfTest extends 
GridCacheAbstractSelfTes
         keys.add(primaryKey(jcache(2)));
 
         if (async)
-            cache.loadCacheAsync(null, keys.toArray(new Integer[3])).get();
+            cache.loadCacheAsync(null, keys.toArray()).get();
         else
-            cache.loadCache(null, keys.toArray(new Integer[3]));
+            cache.loadCache(null, keys.toArray());
 
         assertEquals(3, cache.size(CachePeekMode.PRIMARY));
 
@@ -146,9 +146,9 @@ public class IgniteCacheExpiryStoreLoadSelfTest extends 
GridCacheAbstractSelfTes
         List<Integer> keys = primaryKeys(cache, 3);
 
         if (async)
-            cache.localLoadCacheAsync(null, keys.toArray(new 
Integer[3])).get();
+            cache.localLoadCacheAsync(null, keys.toArray()).get();
         else
-            cache.localLoadCache(null, keys.toArray(new Integer[3]));
+            cache.localLoadCache(null, keys.toArray());
 
         assertEquals(3, cache.localSize());
 
diff --git 
a/modules/core/src/test/java/org/apache/ignite/client/ConnectionTest.java 
b/modules/core/src/test/java/org/apache/ignite/client/ConnectionTest.java
index d147352e74f..cfdf88396f9 100644
--- a/modules/core/src/test/java/org/apache/ignite/client/ConnectionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/client/ConnectionTest.java
@@ -45,7 +45,7 @@ public class ConnectionTest {
     /** */
     @Test(expected = org.apache.ignite.client.ClientException.class)
     public void testNullNodeAddress() throws Exception {
-        testConnection(IPv4_HOST, null);
+        testConnection(IPv4_HOST, (String[])null);
     }
 
     /** */
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheFastNodeLeftForTransactionTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheFastNodeLeftForTransactionTest.java
index 1dbbd337783..47d561a1862 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheFastNodeLeftForTransactionTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheFastNodeLeftForTransactionTest.java
@@ -236,7 +236,7 @@ public class GridCacheFastNodeLeftForTransactionTest 
extends GridCommonAbstractT
 
         checkCacheData(cacheValues, cacheName);
 
-        IdleVerifyResult idleVerifyRes = idleVerify(stoppedNode, null);
+        IdleVerifyResult idleVerifyRes = idleVerify(stoppedNode);
 
         SB sb = new SB();
 
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalDeletionArchiveAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalDeletionArchiveAbstractTest.java
index 399c85cda7a..a854840efb7 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalDeletionArchiveAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalDeletionArchiveAbstractTest.java
@@ -178,9 +178,7 @@ public abstract class WalDeletionArchiveAbstractTest 
extends GridCommonAbstractT
     }
 
     /**
-     * Test for check deprecated removing checkpoint by deprecated 
walHistorySize parameter
-     *
-     * @deprecated Test old removing process depends on WalHistorySize.
+     * Tests the old checkpoint history removal controlled by the deprecated 
{@code walHistorySize} parameter.
      */
     @Test
     public void testCheckpointHistoryRemovingByTruncate() throws Exception {
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotStreamerTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotStreamerTest.java
index 4b8ee2e9117..6ba22c66cd9 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotStreamerTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotStreamerTest.java
@@ -108,7 +108,7 @@ public class IgniteClusterSnapshotStreamerTest extends 
AbstractSnapshotSelfTest
     @Override protected IgniteConfiguration getConfiguration(String 
igniteInstanceName) throws Exception {
         IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
 
-        cfg.setCacheConfiguration(null);
+        cfg.setCacheConfiguration();
 
         if (cfg.isClientMode())
             return cfg;
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java
index 8e348875776..2c4ac88fe7f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java
@@ -136,7 +136,7 @@ public class IgniteCacheDumpSelfTest extends 
AbstractCacheDumpTest {
             if (i == 0)
                 cfg.setUserAttributes(F.asMap(DEFAULT_CACHE_NAME, ""));
 
-            cfg.setCacheConfiguration(null);
+            cfg.setCacheConfiguration();
 
             cfg.setClientMode(i == nodes);
 
diff --git 
a/modules/dev-utils/src/test/java/org/apache/ignite/development/utils/IgniteWalConverterArgumentsTest.java
 
b/modules/dev-utils/src/test/java/org/apache/ignite/development/utils/IgniteWalConverterArgumentsTest.java
index ef81648adce..8e6faa98a8f 100644
--- 
a/modules/dev-utils/src/test/java/org/apache/ignite/development/utils/IgniteWalConverterArgumentsTest.java
+++ 
b/modules/dev-utils/src/test/java/org/apache/ignite/development/utils/IgniteWalConverterArgumentsTest.java
@@ -67,7 +67,7 @@ public class IgniteWalConverterArgumentsTest extends 
GridCommonAbstractTest {
     public void testViewHelp() throws Exception {
         final ByteArrayOutputStream out = new ByteArrayOutputStream();
 
-        final IgniteWalConverterArguments parseArgs = parse(new 
PrintStream(out), null);
+        final IgniteWalConverterArguments parseArgs = parse(new 
PrintStream(out));
 
         Assert.assertNull(parseArgs);
 
diff --git 
a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SystemViewLocal.java
 
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SystemViewLocal.java
index 200e9c07ed4..9bebfd34bcc 100644
--- 
a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SystemViewLocal.java
+++ 
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SystemViewLocal.java
@@ -194,7 +194,7 @@ public class SystemViewLocal<R> extends 
SqlAbstractLocalSystemView {
                     }
                 });
 
-                return createRow(ses, data);
+                return createRow(ses, (Object[])data);
             }
         };
     }
diff --git 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
index 973d1abf509..872a170e5c2 100644
--- 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
+++ 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
@@ -453,7 +453,7 @@ public class BaseH2CompareQueryTest extends 
AbstractH2CompareQueryTest {
      */
     @Test
     public void testNullParamSubstitution() throws Exception {
-        List<List<?>> rs1 = compareQueryRes0(cachePers, "select ? from 
\"pers\".Person", null);
+        List<List<?>> rs1 = compareQueryRes0(cachePers, "select ? from 
\"pers\".Person", (Object)null);
 
         // Ensure we find something.
         assertFalse(rs1.isEmpty());
diff --git 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/stat/StatisticsAbstractTest.java
 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/stat/StatisticsAbstractTest.java
index 286d926197d..d4b708ca3bb 100644
--- 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/stat/StatisticsAbstractTest.java
+++ 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/stat/StatisticsAbstractTest.java
@@ -79,7 +79,7 @@ public abstract class StatisticsAbstractTest extends 
GridCommonAbstractTest {
     static final StatisticsKey SMALL_KEY = new StatisticsKey(SCHEMA, "SMALL");
 
     /** Statistics target for the whole small table. */
-    static final StatisticsTarget SMALL_TARGET = new 
StatisticsTarget(SMALL_KEY, null);
+    static final StatisticsTarget SMALL_TARGET = new 
StatisticsTarget(SMALL_KEY);
 
     /** Async operation timeout for test */
     static final int TIMEOUT = 10_000;
diff --git 
a/modules/rest-http/src/main/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/GridJettyRestHandler.java
 
b/modules/rest-http/src/main/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/GridJettyRestHandler.java
index ad028871809..e40f43535ce 100644
--- 
a/modules/rest-http/src/main/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/GridJettyRestHandler.java
+++ 
b/modules/rest-http/src/main/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/GridJettyRestHandler.java
@@ -121,10 +121,10 @@ public class GridJettyRestHandler extends HttpServlet {
     /** */
     private static final String WRITE_SYNCHRONIZATION_MODE_PARAM = 
"writeSynchronizationMode";
 
-    /** @deprecated Should be replaced with AUTHENTICATION + token in IGNITE 
3.0 */
+    /** */
     private static final String IGNITE_LOGIN = "ignite.login";
 
-    /** @deprecated Should be replaced with AUTHENTICATION + token in IGNITE 
3.0 */
+    /** */
     private static final String IGNITE_PASSWORD = "ignite.password";
 
     /** */
diff --git a/modules/tools/src/main/java/org/apache/ignite/tools/junit/X.java 
b/modules/tools/src/main/java/org/apache/ignite/tools/junit/X.java
index e696cd9f490..4a0e78ef9cc 100644
--- a/modules/tools/src/main/java/org/apache/ignite/tools/junit/X.java
+++ b/modules/tools/src/main/java/org/apache/ignite/tools/junit/X.java
@@ -60,7 +60,7 @@ final class X {
         Method causeMtd;
 
         try {
-            causeMtd = Throwable.class.getMethod("getCause", null);
+            causeMtd = Throwable.class.getMethod("getCause");
         }
         catch (Exception ignored) {
             causeMtd = null;
@@ -101,7 +101,7 @@ final class X {
         Method mtd = null;
 
         try {
-            mtd = throwable.getClass().getMethod(mtdName, null);
+            mtd = throwable.getClass().getMethod(mtdName);
         }
         catch (NoSuchMethodException | SecurityException ignored) {
             // exception ignored
@@ -180,7 +180,7 @@ final class X {
         Class<?> cls = throwable.getClass();
         for (String CAUSE_MTD_NAME : CAUSE_MTD_NAMES) {
             try {
-                Method mtd = cls.getMethod(CAUSE_MTD_NAME, null);
+                Method mtd = cls.getMethod(CAUSE_MTD_NAME);
 
                 if (mtd != null && 
Throwable.class.isAssignableFrom(mtd.getReturnType()))
                     return true;
diff --git a/parent/pom.xml b/parent/pom.xml
index 71ed15cc0dc..0ba2e42e101 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1086,10 +1086,12 @@
                                 <phase>compile</phase>
                                 <configuration>
                                     <target>
-                                        <!-- moving licenses generated by 
"ignite-dependencies" -->
-                                        <move 
file="${basedir}/target/classes/META-INF/licenses.txt" 
tofile="${basedir}/target/licenses/${project.artifactId}-licenses.txt"/>
+                                        <!-- Move the licenses generated by 
"ignite-dependencies". The file is absent in modules
+                                             without resources, e.g. with the 
pom packaging. -->
+                                        <move 
file="${basedir}/target/classes/META-INF/licenses.txt"
+                                              
tofile="${basedir}/target/licenses/${project.artifactId}-licenses.txt"
+                                              failonerror="false" 
quiet="true"/>
                                     </target>
-                                    <failOnError>false</failOnError>
                                 </configuration>
                             </execution>
                         </executions>

Reply via email to