Skip to content

Commit

Permalink
IGNITE-22775 remove code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
skorotkov committed Jul 22, 2024
1 parent d211f4b commit 506a79a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,6 @@ public class CdcMain implements Runnable {
/** Already processed segments. */
private final Set<Path> processedSegments = new HashSet<>();

/** Unused to catch in sonar. */
private final int unused;

/**
* @param cfg Ignite configuration.
* @param ctx Spring resource context.
Expand All @@ -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. */
Expand Down

0 comments on commit 506a79a

Please sign in to comment.