Skip to content

Commit 239687c

Browse files
Fix visibility issues when testing AOT repository.
See: #2155
1 parent 12e098d commit 239687c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ public String toString() {
21042104
}
21052105
}
21062106

2107-
static class DummyDto {
2107+
public static class DummyDto {
21082108
@Id Long idProp;
21092109
String name;
21102110
AggregateReference<DummyEntity, Long> ref;
@@ -2120,7 +2120,7 @@ public AggregateReference<DummyEntity, Long> getRef() {
21202120
}
21212121
}
21222122

2123-
static class DummyAllArgsDto {
2123+
public static class DummyAllArgsDto {
21242124
@Id Long idProp;
21252125
String name;
21262126
AggregateReference<DummyEntity, Long> ref;
@@ -2140,7 +2140,7 @@ public AggregateReference<DummyEntity, Long> getRef() {
21402140
}
21412141
}
21422142

2143-
record DtoProjection(String name) {
2143+
public record DtoProjection(String name) {
21442144

21452145

21462146
public boolean equals(final Object o) {
@@ -2166,7 +2166,7 @@ public String toString() {
21662166
}
21672167
}
21682168

2169-
static class CustomRowMapper implements RowMapper<DummyEntity> {
2169+
public static class CustomRowMapper implements RowMapper<DummyEntity> {
21702170

21712171
@Override
21722172
public DummyEntity mapRow(ResultSet rs, int rowNum) {

0 commit comments

Comments
 (0)