Skip to content

Commit 1bf76b6

Browse files
committed
#82 - SimpleClassDetails#getMetaAnnotated should return emptyList instead of null
1 parent 055aee2 commit 1bf76b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/hibernate/models/internal/SimpleClassDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public <A extends Annotation, C extends Annotation> void forEachRepeatedAnnotati
198198
public <A extends Annotation> List<? extends Annotation> getMetaAnnotated(
199199
Class<A> metaAnnotationType,
200200
SourceModelBuildingContext modelContext) {
201-
return null;
201+
return Collections.emptyList();
202202
}
203203

204204
@Override

0 commit comments

Comments
 (0)