File tree 1 file changed +10
-10
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ public Querydsl(EntityManager em, PathBuilder<?> builder) {
77
77
*/
78
78
public <T > AbstractJPAQuery <T , JPAQuery <T >> createQuery () {
79
79
80
- return switch (provider ) {
81
- case ECLIPSELINK -> new SpringDataJpaQuery <>(em , EclipseLinkTemplates .DEFAULT );
82
- case HIBERNATE -> new SpringDataJpaQuery <>(em , HQLTemplates .DEFAULT );
83
- default -> new SpringDataJpaQuery <>(em );
84
- };
80
+ return switch (provider ) {
81
+ case ECLIPSELINK -> new SpringDataJpaQuery <>(em , EclipseLinkTemplates .DEFAULT );
82
+ case HIBERNATE -> new SpringDataJpaQuery <>(em , HQLTemplates .DEFAULT );
83
+ default -> new SpringDataJpaQuery <>(em );
84
+ };
85
85
}
86
86
87
87
/**
@@ -198,11 +198,11 @@ private NullHandling toQueryDslNullHandling(org.springframework.data.domain.Sort
198
198
199
199
Assert .notNull (nullHandling , "NullHandling must not be null" );
200
200
201
- return switch (nullHandling ) {
202
- case NULLS_FIRST -> NullHandling .NullsFirst ;
203
- case NULLS_LAST -> NullHandling .NullsLast ;
204
- default -> NullHandling .Default ;
205
- };
201
+ return switch (nullHandling ) {
202
+ case NULLS_FIRST -> NullHandling .NullsFirst ;
203
+ case NULLS_LAST -> NullHandling .NullsLast ;
204
+ default -> NullHandling .Default ;
205
+ };
206
206
}
207
207
208
208
/**
You can’t perform that action at this time.
0 commit comments