From 8aaf0e933c9509e9f601df79638c0fa3a8dab47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Rou=C3=A9l?= Date: Fri, 25 Oct 2024 17:00:25 +0200 Subject: [PATCH] Remove unused test code --- .../extra/java/EclipseJdtFormatterStepSpecialCaseTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib-extra/src/test/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStepSpecialCaseTest.java b/lib-extra/src/test/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStepSpecialCaseTest.java index f37bfe9e74..20c11f6010 100644 --- a/lib-extra/src/test/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStepSpecialCaseTest.java +++ b/lib-extra/src/test/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStepSpecialCaseTest.java @@ -38,7 +38,6 @@ public void issue_1638() { @Test public void sort_members_no_fields() { - ClassLoader classLoader = getClass().getClassLoader(); EclipseJdtFormatterStep.Builder builder = EclipseJdtFormatterStep.createBuilder(TestProvisioner.mavenCentral()); builder.setMembersOrdering("SF,SI,SM,F,I,C,M,T", true); StepHarness.forStep(builder.build()) @@ -47,7 +46,6 @@ public void sort_members_no_fields() { @Test public void sort_members() { - ClassLoader classLoader = getClass().getClassLoader(); EclipseJdtFormatterStep.Builder builder = EclipseJdtFormatterStep.createBuilder(TestProvisioner.mavenCentral()); builder.setMembersOrdering("SF,SI,SM,F,I,C,M,T", false); StepHarness.forStep(builder.build()) @@ -56,7 +54,6 @@ public void sort_members() { @Test public void sort_members_and_by_visibility() { - ClassLoader classLoader = getClass().getClassLoader(); EclipseJdtFormatterStep.Builder builder = EclipseJdtFormatterStep.createBuilder(TestProvisioner.mavenCentral()); builder.setMembersOrdering("SF,SI,SM,F,I,C,M,T", false); builder.setVisibilityOrdering("B,R,D,V");