Skip to content

Commit

Permalink
refactor: Add missing @Override to overriding and implementing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Mar 12, 2024
1 parent 8c26b72 commit bfe2f3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

class PrometheusMicrometerMigrationTests implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec
.recipe(new TimerToObservation())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

class TimerToObservationTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new TimerToObservation())
.parser(JavaParser.fromJavaVersion().classpath("micrometer-core"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

class UpgradeMicrometer implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipe(Environment.builder()
.scanRuntimeClasspath("org.openrewrite.micrometer")
Expand Down

0 comments on commit bfe2f3b

Please sign in to comment.