From 0ea86963fc66a68f3bfdb803bcd16a374e333840 Mon Sep 17 00:00:00 2001 From: NSAmelchev Date: Thu, 8 Oct 2026 19:34:47 +0300 Subject: [PATCH 1/4] IGNITE-29122 Fix javac and javadoc warnings in the build log --- .../query/calcite/exec/exp/ExpressionFactory.java | 2 +- .../query/calcite/exec/exp/IgniteSqlFunctions.java | 6 +++--- .../query/calcite/prepare/FieldsMetadata.java | 2 +- .../calcite/sql/fun/IgniteOwnSqlOperatorTable.java | 2 +- .../query/calcite/integration/PartitionPruneTest.java | 2 +- .../internal/thread/context/OperationContext.java | 4 ++-- .../org/apache/ignite/internal/util/CommonUtils.java | 2 +- .../org/apache/ignite/internal/util/typedef/X.java | 6 +++--- .../main/java/org/jsr166/ConcurrentLinkedHashMap.java | 2 +- .../ignite/internal/commandline/CommandHandler.java | 4 ++-- .../org/apache/ignite/util/GridCommandHandlerTest.java | 2 +- .../core/src/main/java/org/apache/ignite/Ignite.java | 1 + .../src/main/java/org/apache/ignite/IgniteCache.java | 1 + .../java/org/apache/ignite/IgniteSystemProperties.java | 1 + .../ignite/configuration/IgniteConfiguration.java | 1 + .../ignite/configuration/TransactionConfiguration.java | 1 + .../index/sorted/inline/InlineObjectBytesDetector.java | 2 +- .../index/sorted/inline/types/DateValueUtils.java | 2 +- .../internal/processors/cache/IgniteCacheProxy.java | 2 +- .../processors/cache/IgniteCacheProxyImpl.java | 2 +- .../internal/processors/cache/IgniteInternalCache.java | 6 +++--- .../processors/cache/PartitionUpdateCounter.java | 2 +- .../ignite/internal/processors/cache/package-info.java | 2 +- .../processors/cache/persistence/StorageException.java | 2 +- .../internal/processors/cache/query/CacheQuery.java | 3 ++- .../processors/odbc/jdbc/JdbcBulkLoadProcessor.java | 4 ++-- .../processors/query/running/HeavyQueriesTracker.java | 4 ++-- .../processors/query/running/SqlQueryMXBean.java | 4 ++-- .../processors/query/stat/StatisticsProcessor.java | 2 +- .../stat/hll/serialization/SerializationUtil.java | 2 +- .../internal/util/GridConcurrentMultiPairQueue.java | 6 +++--- .../org/apache/ignite/internal/util/IgniteUtils.java | 2 +- .../store/IgniteCacheExpiryStoreLoadSelfTest.java | 8 ++++---- .../java/org/apache/ignite/client/ConnectionTest.java | 2 +- .../cache/GridCacheFastNodeLeftForTransactionTest.java | 2 +- .../db/wal/WalDeletionArchiveAbstractTest.java | 4 +--- .../snapshot/IgniteClusterSnapshotStreamerTest.java | 2 +- .../snapshot/dump/IgniteCacheDumpSelfTest.java | 2 +- .../utils/IgniteWalConverterArgumentsTest.java | 2 +- .../processors/query/h2/sys/view/SystemViewLocal.java | 2 +- .../query/h2/sql/BaseH2CompareQueryTest.java | 2 +- .../processors/query/stat/StatisticsAbstractTest.java | 2 +- .../protocols/http/jetty/GridJettyRestHandler.java | 10 +++++----- .../src/main/java/org/apache/ignite/tools/junit/X.java | 6 +++--- 44 files changed, 67 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 3fe58949d01e8..ecdccedd49e9a 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 @@ Supplier>> accumulatorsFactory( * * @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 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 be9dc99330df0..d8766ca51e9b1 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 static boolean gtAny(Object a, Object b) { 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 static boolean leAny(Object a, Object b) { 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 static boolean eqAny(Object a, Object b) { 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 5164878d4d564..d6fa831b4fe48 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 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 d5a7dd434e332..be4f7d05d05cb 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 4b363c76abc56..e79fc4757c862 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 @@ private void testSelect(int sz, boolean withIn, String column) { 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 2b98393d25d19..fa340ce2b4f91 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 @@ * 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. - *
+ * 
{@code
  *         +-----------+   +-----------+
  *         |           |   | A1 -> V2  |
  * null <--| A1 -> V1  |<--|           |
  *         |           |   | A2 -> V3  |
  *         +-----------+   +-----------+
- *
+ * }
* {@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). *

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 cb2c770007fa3..e28d00314c4df 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 static void quiet(boolean err, Object... objs) { 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 3b2cc43bee852..b3b613d086d42 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 @@ private static Throwable getCauseUsingMethodName(Throwable throwable, String mtd 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 static boolean isNestedThrowable(Throwable throwable) { 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 1c09c21806773..ab0700cb41f19 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 extends AbstractMap 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 4d7230eb0a6ab..ce9e31c46df23 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 @@ private void printHelp(List rawArgs) { 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), "")); logger.info(""); logger.info(""); @@ -674,7 +674,7 @@ private void printCacheHelpHeader(IgniteLogger logger) { 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] "); 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 b5f2659b1fa0b..2630f58ee4304 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 void testKillHangingRemoteTransactions() throws Exception { 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 f49dbbd14da36..5dbc48c5ac747 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 IgniteQueue queue(String name, int cap, @Nullable CollectionConfig * @return Collection of {@link DataRegionMetrics} snapshots. * @deprecated Check the {@link ReadOnlyMetricRegistry} with "name=io.dataregion.{data_region_name}" instead. */ + @Deprecated public Collection 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 da39381ff47b0..718c24f441ab5 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 IgniteFuture localLoadCacheAsync(@Nullable IgniteBiPredicate * @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 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 da5fb38349cdb..611195665f10b 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 244a54c9470ca..f39d792f924be 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 IgniteConfiguration setTracingSpi(TracingSpi tracingSpi) { * @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 a231f4796907f..44668ad6aeb82 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 d10140c99ee1d..3d44552676220 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 boolean inlineObjectSupported() { /** * 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 49d5a87a81dc3..053382a265303 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 @@ /** * 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 92971485a507f..32e5279e48f67 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 extends IgniteCache, Externalizabl *

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: *

-     * IgniteInternalCache prj = cache.keepBinary();
+     * IgniteInternalCache<Integer, GridBinaryObject> 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 50e71d5807ebf..156380c2985dd 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 @@ else if (clazz.isAssignableFrom(IgniteEx.class)) {
      * 

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: *

-     * IgniteInternalCache prj = cache.keepBinary();
+     * IgniteInternalCache<Integer, GridBinaryObject> 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 f98849c6761fa..925ac9c3bf511 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 @@
  * 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):
  * 
- * IgniteInternalCache prj = Ignition.grid().cache(null);
+ * IgniteInternalCache<Integer, Value> 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 @@
  * needed for performance reasons. To work with binary format directly you should create special projection
  * using {@link #keepBinary()} method:
  * 
- * IgniteInternalCache prj = Ignition.grid().cache(null).keepBinary();
+ * IgniteInternalCache<Integer, GridBinaryObject> 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 extends Iterable> {
      * (which will be stored in binary format), you should acquire following projection
      * to avoid deserialization:
      * 
-     * IgniteInternalCache prj = cache.keepBinary();
+     * IgniteInternalCache<Integer, GridBinaryObject> 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 2475770b6ca7b..8a08fcf14fd17 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 {
     /**
      * 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 b7e27a7b20db8..9ba189d71bb41 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. 
+ * This package contain cache-related processors and persistence implementation.
* See also * GitHub Package Readme 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 509dee6264d64..cc605ede81971 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.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 e9cfcb2fd82b4..ed2e26c90b237 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 @@ * new org.locationtech.jts.geom.Coordinate(0, 0) * }); * - * Map.Entry records = cache.queries().createSqlQuery(MapPoint.class, "select * from MapPoint where location && ?") + * Map.Entry<String, UserData> records = cache.queries() + * .createSqlQuery(MapPoint.class, "select * from MapPoint where location && ?") * .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 d8c229c41ada4..7d915300b7f3b 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 @@ * Unlike other "single shot" request-reply commands, the * COPY command the client-server interaction looks like this: * - *
+ * 
{@code
  * Thin JDBC client                            Server
  *        |                                       |
  *        |------- JdbcQueryExecuteRequest ------>|
@@ -66,7 +66,7 @@
  *        |                                       |
  * (close the file)                               |
  *        |                                       |
- * 
+ * }
* * 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 72ca9731ecf5a..d05f5fb3b19c4 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 int getTimeoutMultiplier() { * - 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 void setResultSetSizeThreshold(long rsSizeThreshold) { * - 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 06233e657439f..d077b6eea6dd8 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 @@ void setLongQueryWarningTimeout( * - 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 @@ void setLongQueryWarningTimeout( * - 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 7e662e6d29da1..7bef91372e632 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 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 211593d59ff72..7ee30d89cbb8e 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 static byte packVersionByte(final int schemaVersion, final int typeOrdina * If 'auto' is chosen, this value should be 63. * *
  • - * If a cutoff of 2n is desired, for 0 <= n < 31, + * If a cutoff of 2n is desired, for {@code 0 <= n < 31}, * this value should be n + 1. *
  • * 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 dcc637efeeaf8..1bbb19aa315a3 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 @@ * Concurrent queue that wraps collection of {@code Pair} * The only garantee {@link #next} provided is sequentially emptify values per key array. * i.e. input like:
    - * p1 = new Pair<1, [1, 3, 5, 7]>
    - * p2 = new Pair<2, [2, 3]>
    - * p3 = new Pair<3, [200, 100]>
    + * {@code p1 = new Pair<1, [1, 3, 5, 7]>}
    + * {@code p2 = new Pair<2, [2, 3]>}
    + * {@code p3 = new Pair<3, [200, 100]>}
    * and further sequence of {@code poll} or {@code forEach} calls may produce output like:
    * [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 5b87447a84813..40779934a03ad 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 static Iterable asIterable(final Enumeration e) { } /** - * 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: *
      *
    • File to File
    • *
    • File to Folder
    • 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 a5fbe821f4b45..578503905f5ce 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 @@ private void checkLoad(boolean async) throws Exception { 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 @@ private void checkLocalLoad(boolean async) throws Exception { List 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 d147352e74f35..cfdf88396f93b 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 void testEmptyNodeAddress() throws Exception { /** */ @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 1dbbd337783b6..47d561a1862ff 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 @@ private void check( 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 399c85cda7a4b..a854840efb7ef 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 void testCheckpointStarted_WhenWalHasTooBigSizeWithoutCheckpoint() throws } /** - * 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 4b8ee2e91176b..6ba22c66cd992 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 8e34887577607..2c4ac88fe7fff 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 void testDumpWithNodeFilterCache() throws Exception { 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 ef81648adce53..8e6faa98a8f8d 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 IgniteWalConverterArgumentsTest() { 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 200e9c07ed4f8..9bebfd34bcced 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 @@ protected Iterator viewIterator(SearchRow first, SearchRow last) { } }); - 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 973d1abf50902..872a170e5c259 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 void testAggregateOrderBy() throws SQLException { */ @Test public void testNullParamSubstitution() throws Exception { - List> rs1 = compareQueryRes0(cachePers, "select ? from \"pers\".Person", null); + 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 286d926197dd7..d4b708ca3bb46 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 ad02887180952..5d9cf1c451dc1 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 @@ -31,14 +31,14 @@ import java.util.List; import java.util.Map; import java.util.UUID; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.InjectableValues; +import com.fasterxml.jackson.databind.ObjectMapper; import jakarta.servlet.ServletOutputStream; import jakarta.servlet.ServletRequest; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.InjectableValues; -import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteLogger; import org.apache.ignite.IgniteSystemProperties; @@ -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 */ + /** 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 */ + /** 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 e696cd9f49007..4a0e78ef9cc06 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 @@ private static Throwable getCauseUsingMethodName(Throwable throwable, String mtd 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 @@ private static boolean isNestedThrowable(Throwable throwable) { 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; From 3715fd6d3c8cdc12f126d01efbba4188a47a2d8c Mon Sep 17 00:00:00 2001 From: NSAmelchev Date: Thu, 8 Oct 2026 19:51:09 +0300 Subject: [PATCH 2/4] IGNITE-29122 Fix javac and javadoc warnings in the build log --- .../rest/protocols/http/jetty/GridJettyRestHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 5d9cf1c451dc1..5183f2bf633ba 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 @@ -31,14 +31,14 @@ import java.util.List; import java.util.Map; import java.util.UUID; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.InjectableValues; -import com.fasterxml.jackson.databind.ObjectMapper; import jakarta.servlet.ServletOutputStream; import jakarta.servlet.ServletRequest; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.InjectableValues; +import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteLogger; import org.apache.ignite.IgniteSystemProperties; From 6b4de15911b544b5a5fa7dd74d7dd81b5b7b3777 Mon Sep 17 00:00:00 2001 From: NSAmelchev Date: Thu, 8 Oct 2026 20:09:11 +0300 Subject: [PATCH 3/4] IGNITE-29122 Fix javac and javadoc warnings in the build log --- parent/pom.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 71ed15cc0dc3e..0ba2e42e1019a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -1086,10 +1086,12 @@ compile - - + + - false From b0d8d837434aa644b5bed81c0be4c0915235586a Mon Sep 17 00:00:00 2001 From: NSAmelchev Date: Fri, 9 Oct 2026 20:43:12 +0300 Subject: [PATCH 4/4] review fixes --- .../rest/protocols/http/jetty/GridJettyRestHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 5183f2bf633ba..e40f43535ce1e 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"; - /** Should be replaced with AUTHENTICATION + token in IGNITE 3.0. */ + /** */ private static final String IGNITE_LOGIN = "ignite.login"; - /** Should be replaced with AUTHENTICATION + token in IGNITE 3.0. */ + /** */ private static final String IGNITE_PASSWORD = "ignite.password"; /** */