From bf550ea3f221fe50af5a4befb49596c572a8e856 Mon Sep 17 00:00:00 2001 From: Joan Viladrosa Date: Fri, 3 Nov 2023 14:01:12 +0100 Subject: [PATCH] removed not used fields (#41) --- .../org/openrewrite/java/dependencies/AddDependency.java | 7 ------- .../openrewrite/java/dependencies/AddDependencyTest.java | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/main/java/org/openrewrite/java/dependencies/AddDependency.java b/src/main/java/org/openrewrite/java/dependencies/AddDependency.java index defae0c..c131d44 100644 --- a/src/main/java/org/openrewrite/java/dependencies/AddDependency.java +++ b/src/main/java/org/openrewrite/java/dependencies/AddDependency.java @@ -182,13 +182,6 @@ public static class Accumulator { org.openrewrite.maven.AddDependency.Scanned mavenAccumulator; } - @Nullable - org.openrewrite.gradle.AddDependency addGradleDependency; - - @Nullable - org.openrewrite.maven.AddDependency addMavenDependency; - - private org.openrewrite.gradle.AddDependency gradleAddDep() { return new org.openrewrite.gradle.AddDependency(groupId, artifactId, version, versionPattern, configuration, onlyIfUsing, classifier, extension, familyPattern, acceptTransitive); diff --git a/src/test/java/org/openrewrite/java/dependencies/AddDependencyTest.java b/src/test/java/org/openrewrite/java/dependencies/AddDependencyTest.java index 56c5268..b9cba15 100644 --- a/src/test/java/org/openrewrite/java/dependencies/AddDependencyTest.java +++ b/src/test/java/org/openrewrite/java/dependencies/AddDependencyTest.java @@ -141,8 +141,6 @@ private AddDependency addDependency(String gav, String onlyIfUsing, @Nullable St null, null, null, - null, - null, null ); }