From 506a79ae4e23d269cc8a55f00488b492a626d71e Mon Sep 17 00:00:00 2001 From: Sergey Korotkov Date: Mon, 22 Jul 2024 17:28:52 +0700 Subject: [PATCH] IGNITE-22775 remove code smells --- .../main/java/org/apache/ignite/internal/cdc/CdcMain.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java b/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java index d2c853aa799e7..c76f41fe54cd0 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java @@ -270,9 +270,6 @@ public class CdcMain implements Runnable { /** Already processed segments. */ private final Set processedSegments = new HashSet<>(); - /** Unused to catch in sonar. */ - private final int unused; - /** * @param cfg Ignite configuration. * @param ctx Spring resource context. @@ -297,9 +294,6 @@ public CdcMain( } consumer = new WalRecordsConsumer<>(cdcCfg.getConsumer(), log); - - unused = 1; - System.err.println("Replace this use of System.err by a logger."); } /** Runs Change Data Capture. */