Skip to content

Commit e5068d6

Browse files
RxBoxStore: remove unused code, suppress expected raw type warning.
1 parent 0754bdd commit e5068d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

objectbox-rxjava3/src/main/java/io/objectbox/rx/RxBoxStore.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public abstract class RxBoxStore {
2828
* Using the returned Observable, you can be notified about data changes.
2929
* Once a transaction is committed, you will get info on classes with changed Objects.
3030
*/
31-
public static <T> Observable<Class> observable(final BoxStore boxStore) {
31+
@SuppressWarnings("rawtypes") // BoxStore observer may return any (entity) type.
32+
public static Observable<Class> observable(BoxStore boxStore) {
3233
return Observable.create(emitter -> {
3334
final DataSubscription dataSubscription = boxStore.subscribe().observer(data -> {
3435
if (!emitter.isDisposed()) {

0 commit comments

Comments
 (0)