Remove unused AutoRepairService import in AutoRepairTest

Fixes checkstyle-test failure:

  [ERROR] test/unit/.../AutoRepairTest.java:43:8:
    Unused import - org.apache.cassandra.service.AutoRepairService. [UnusedImports]

Import was inadvertently pulled in during the CASSANDRA-21115 cherry-pick
conflict resolution (union of imports). It is used only on trunk (5.1),
where the @Before setup() calls AutoRepairService.setup(); this branch does
not have that call.

Verified locally: `ant checkstyle checkstyle-test` clean; AutoRepairTest
still 9/9 passing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
sampreethb 2026-07-01 22:06:50 -07:00
parent ebc10e9ade
commit 16476c9a7a
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ import org.apache.cassandra.repair.autorepair.AutoRepairConfig.RepairType;
import org.apache.cassandra.schema.SchemaConstants;
import org.apache.cassandra.schema.SchemaTestUtil;
import org.apache.cassandra.schema.SystemDistributedKeyspace;
import org.apache.cassandra.service.AutoRepairService;
import org.apache.cassandra.service.StorageService;
import org.apache.cassandra.utils.FBUtilities;