diff --git a/src/test/resources/projects/maven/jakarta-sample/src/main/java/io/openliberty/sample/jakarta/annotations/IncorrectResourceAnnotation.java b/src/test/resources/projects/maven/jakarta-sample/src/main/java/io/openliberty/sample/jakarta/annotations/IncorrectResourceAnnotation.java index be5da0150..7fd3bd953 100644 --- a/src/test/resources/projects/maven/jakarta-sample/src/main/java/io/openliberty/sample/jakarta/annotations/IncorrectResourceAnnotation.java +++ b/src/test/resources/projects/maven/jakarta-sample/src/main/java/io/openliberty/sample/jakarta/annotations/IncorrectResourceAnnotation.java @@ -2,37 +2,16 @@ import random.test.pkg.on.Resource; -@Resource(type = Object.class, name = "aa") public class IncorrectResourceAnnotation { private Integer studentId; - - @Resource(shareable = true) - private boolean isHappy; - - @Resource(name = "test") + @Resource private boolean isSad; - - private String emailAddress; - - -} - -@random.test.pkg.on.Resource(name = "aa") -class PostDoctoralStudent { - - private Integer studentId; - - - @random.test.pkg.on.Resource(shareable = true) + @random.test.pkg.on.Resource private boolean isHappy; - @random.test.pkg.on.Resource - private boolean isSad; - - private String emailAddress; } \ No newline at end of file