Skip to content

Commit afd1481

Browse files
committed
Remove frodo annotation scope due to a bug with the library.
1 parent a5bf449 commit afd1481

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

data/src/main/java/com/fernandocejas/android10/sample/data/net/RestApiImpl.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
import java.util.List;
2727
import rx.Observable;
2828

29-
import static com.fernandocejas.frodo.annotation.RxLogObservable.Scope.SCHEDULERS;
30-
3129
/**
3230
* {@link RestApi} implementation for retrieving data from the network.
3331
*/
@@ -50,7 +48,7 @@ public RestApiImpl(Context context, UserEntityJsonMapper userEntityJsonMapper) {
5048
this.userEntityJsonMapper = userEntityJsonMapper;
5149
}
5250

53-
@RxLogObservable(SCHEDULERS)
51+
@RxLogObservable
5452
@Override public Observable<List<UserEntity>> userEntityList() {
5553
return Observable.create(subscriber -> {
5654
if (isThereInternetConnection()) {
@@ -72,7 +70,7 @@ public RestApiImpl(Context context, UserEntityJsonMapper userEntityJsonMapper) {
7270
});
7371
}
7472

75-
@RxLogObservable(SCHEDULERS)
73+
@RxLogObservable
7674
@Override public Observable<UserEntity> userEntityById(final int userId) {
7775
return Observable.create(subscriber -> {
7876
if (isThereInternetConnection()) {

0 commit comments

Comments
 (0)