Skip to content

Commit 30453f4

Browse files
committed
Making style fixes and removing usage of junit.* classes.
Signed-off-by: David Marques <[email protected]>
1 parent cb00a7b commit 30453f4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

rxandroid/src/main/java/rx/android/view/OnSubscribeViewDetachedFromWindowFirst.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import rx.Subscription;
2121

2222
/**
23-
* An internal class that is used from #{@link rx.android.view.ViewObservable#bindView}.
2423
* This emits an event when the given #{@code View} is detached from the window for the first time.
2524
*/
2625
final class OnSubscribeViewDetachedFromWindowFirst implements Observable.OnSubscribe<View> {
@@ -40,7 +39,7 @@ public void call(final Subscriber<? super View> subscriber) {
4039
// This could be split into a couple of anonymous classes.
4140
// We pack it into one for the sake of memory efficiency.
4241
private static class SubscriptionAdapter implements View.OnAttachStateChangeListener,
43-
Subscription {
42+
Subscription {
4443
private Subscriber<? super View> subscriber;
4544
private View view;
4645

rxandroid/src/test/java/rx/android/view/OnSubscribeViewDetachedFromWindowFirstTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
import android.view.View;
1717

18-
import junit.framework.Assert;
19-
18+
import org.junit.Assert;
2019
import org.junit.Test;
2120
import org.junit.runner.RunWith;
2221
import org.mockito.ArgumentCaptor;

0 commit comments

Comments
 (0)