Skip to content

Commit 588042d

Browse files
authored
Merge pull request #1404 from grails/workaroundGroovyBug
Groovy 3.0.7 Use explicit type cast for Collection.emptyMap
2 parents 9420521 + 4ee961b commit 588042d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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+
}

grails-datastore-gorm-rx/src/main/groovy/org/grails/datastore/rx/collection/RxPersistentList.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import rx.Subscription
2323
* @author Graeme Rocher
2424
* @since 6.0
2525
*/
26-
@CompileStatic
26+
//@CompileStatic
2727
@Slf4j
2828
class RxPersistentList extends PersistentList implements RxPersistentCollection, RxUnidirectionalCollection , RxCollection{
2929
final RxDatastoreClient datastoreClient

0 commit comments

Comments
 (0)