Skip to content

Commit cd48b28

Browse files
committed
Use explicit type cast for Collection.emptyMap
1 parent 9420521 commit cd48b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grails-datastore-gorm-rx/src/main/groovy/grails/gorm/rx/RxEntity.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ trait RxEntity<D> implements RxGormOperations<D>, GormValidateable, DirtyCheckab
504504
* @return An observable with all results
505505
*/
506506
static Observable<D> findAll() {
507-
findAll(Collections.emptyMap())
507+
findAll(Collections.<String, Object> emptyMap())
508508
}
509509

510510
/**
@@ -707,4 +707,4 @@ trait RxEntity<D> implements RxGormOperations<D>, GormValidateable, DirtyCheckab
707707
private static RxGormStaticApi<D> currentRxGormStaticApi() {
708708
(RxGormStaticApi<D>)RxGormEnhancer.findStaticApi(this)
709709
}
710-
}
710+
}

0 commit comments

Comments
 (0)