Skip to content

Commit 94212eb

Browse files
committed
Make AutoDispose ScopeHandlers final
1 parent 79e6dbf commit 94212eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

autodispose/src/main/java/com/uber/autodispose/AutoDispose.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public interface ScopeHandler {
166166
return new LifecycleScopeProviderHandlerImpl(scope);
167167
}
168168

169-
private static class MaybeScopeHandlerImpl implements ScopeHandler {
169+
private static final class MaybeScopeHandlerImpl implements ScopeHandler {
170170

171171
private final Maybe<?> scope;
172172

@@ -196,7 +196,7 @@ public <T> Function<Observable<? extends T>, ObservableSubscribeProxy<T>> forObs
196196
}
197197
}
198198

199-
private static class ScopeProviderHandlerImpl implements ScopeHandler {
199+
private static final class ScopeProviderHandlerImpl implements ScopeHandler {
200200

201201
private final ScopeProvider scope;
202202

@@ -226,7 +226,7 @@ public <T> Function<Observable<? extends T>, ObservableSubscribeProxy<T>> forObs
226226
}
227227
}
228228

229-
private static class LifecycleScopeProviderHandlerImpl implements ScopeHandler {
229+
private static final class LifecycleScopeProviderHandlerImpl implements ScopeHandler {
230230

231231
private final LifecycleScopeProvider<?> scope;
232232

0 commit comments

Comments
 (0)