diff --git a/src/testWithSpringBoot_2_7/java/org/openrewrite/java/spring/boot2/Boot3UpgradeTest.java b/src/testWithSpringBoot_2_7/java/org/openrewrite/java/spring/boot2/Boot3UpgradeTest.java index bb6e547b8..f6c68b47d 100644 --- a/src/testWithSpringBoot_2_7/java/org/openrewrite/java/spring/boot2/Boot3UpgradeTest.java +++ b/src/testWithSpringBoot_2_7/java/org/openrewrite/java/spring/boot2/Boot3UpgradeTest.java @@ -32,8 +32,15 @@ public void defaults(RecipeSpec spec) { spec .recipeFromResources("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0") .parser(JavaParser.fromJavaVersion() - .classpath("spring-context", "spring-data-jpa", "spring-web", - "spring-boot", "spring-core", "persistence-api", "validation-api", "xml.bind-api")); + .classpath( + "spring-context", + "spring-data-jpa", + "spring-web", + "spring-boot", + "spring-core", + "persistence-api", + "validation-api", + "xml.bind-api")); } @DocumentExample @@ -50,18 +57,18 @@ void xmlBindMissing() { org.springframework.samples spring-petclinic 2.7.3 - + org.springframework.boot spring-boot-starter-parent 2.7.3 petclinic - + 1.8 - + org.springframework.boot @@ -84,18 +91,18 @@ void xmlBindMissing() { org.springframework.samples spring-petclinic 2.7.3 - + org.springframework.boot spring-boot-starter-parent 3.0.13 petclinic - + 17 - + jakarta.xml.bind @@ -184,6 +191,8 @@ public void setName(String name) { @Table(name = "specialties") public class Specialty implements Serializable { + private static final long serialVersionUID = 1; + @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; @@ -353,6 +362,8 @@ public void setLastName(String lastName) { @Table(name = "vets") public class Vet implements Serializable { + private static final long serialVersionUID = 1; + @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id;