From 3891c9a284f997b2673e959a87e29dc47b2186d4 Mon Sep 17 00:00:00 2001 From: Jonathan Schneider Date: Mon, 26 Jul 2021 17:26:01 -0700 Subject: [PATCH] refactor: Automate fixing Sonar issues. (#51) Co-authored-by: Moderne --- .../ConfigureQuarkusMavenPluginWithReasonableDefaults.java | 1 - .../java/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java | 1 - .../java/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java | 1 - .../openrewrite/java/quarkus/quarkus2/RemoveAvroMavenPlugin.java | 1 - .../java/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java | 1 - .../java/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java | 1 - 6 files changed, 6 deletions(-) diff --git a/src/main/java/org/openrewrite/java/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java b/src/main/java/org/openrewrite/java/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java index 2148980..0a888b2 100644 --- a/src/main/java/org/openrewrite/java/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java +++ b/src/main/java/org/openrewrite/java/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java @@ -69,4 +69,3 @@ public Maven visitMaven(Maven maven, ExecutionContext ctx) { } } } - diff --git a/src/main/java/org/openrewrite/java/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java b/src/main/java/org/openrewrite/java/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java index 2522d4f..c6216c2 100644 --- a/src/main/java/org/openrewrite/java/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java +++ b/src/main/java/org/openrewrite/java/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java @@ -101,4 +101,3 @@ public Maven visitMaven(Maven maven, ExecutionContext ctx) { } } - diff --git a/src/main/java/org/openrewrite/java/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java b/src/main/java/org/openrewrite/java/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java index c4771bb..eb7256a 100644 --- a/src/main/java/org/openrewrite/java/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java +++ b/src/main/java/org/openrewrite/java/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java @@ -99,4 +99,3 @@ public J.Annotation visitAnnotation(J.Annotation annotation, ExecutionContext ct } } - diff --git a/src/main/java/org/openrewrite/java/quarkus/quarkus2/RemoveAvroMavenPlugin.java b/src/main/java/org/openrewrite/java/quarkus/quarkus2/RemoveAvroMavenPlugin.java index 4ad1a20..e2170f7 100644 --- a/src/main/java/org/openrewrite/java/quarkus/quarkus2/RemoveAvroMavenPlugin.java +++ b/src/main/java/org/openrewrite/java/quarkus/quarkus2/RemoveAvroMavenPlugin.java @@ -63,4 +63,3 @@ public Maven visitMaven(Maven maven, ExecutionContext ctx) { } } - diff --git a/src/main/java/org/openrewrite/java/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java b/src/main/java/org/openrewrite/java/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java index 5f448f0..0559e44 100644 --- a/src/main/java/org/openrewrite/java/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java +++ b/src/main/java/org/openrewrite/java/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java @@ -84,4 +84,3 @@ public J.Annotation visitAnnotation(J.Annotation annotation, ExecutionContext ct } } - diff --git a/src/main/java/org/openrewrite/java/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java b/src/main/java/org/openrewrite/java/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java index c7614d8..b742b61 100644 --- a/src/main/java/org/openrewrite/java/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java +++ b/src/main/java/org/openrewrite/java/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java @@ -89,4 +89,3 @@ public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, Execu } } -