Skip to content

Commit

Permalink
Correct casing on AddSerialAnnotationToSerialVersionUID
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Sep 21, 2024
1 parent b913516 commit 6ccce06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import java.time.Duration;
import java.util.Comparator;

public class AddSerialAnnotationToserialVersionUID extends Recipe {
public class AddSerialAnnotationToSerialVersionUID extends Recipe {
@Override
public String getDisplayName() {
return "Add `@Serial` annotation to `serialVersionUID`";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import static org.openrewrite.java.Assertions.java;
import static org.openrewrite.java.Assertions.javaVersion;

class AddSerialAnnotationToserialVersionUIDTest implements RewriteTest {
class AddSerialAnnotationToSerialVersionUIDTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new AddSerialAnnotationToserialVersionUID())
spec.recipe(new AddSerialAnnotationToSerialVersionUID())
.allSources(sourceSpec -> sourceSpec.markers(javaVersion(17)));
}

Expand Down

0 comments on commit 6ccce06

Please sign in to comment.