Fixed small issue with AbstractProvider and EmptyProvider.
This commit is contained in:
parent
369f9da53d
commit
450e5ca428
@ -23,9 +23,4 @@ abstract class AbstractProvider<T> implements Provider<T> {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
boolean isEmpty() {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,11 +26,6 @@ final class EmptyProvider<T> implements Provider<T> {
|
|||||||
CollectionProviders.fromCollection([]) as CollectionProvider<T>
|
CollectionProviders.fromCollection([]) as CollectionProvider<T>
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
boolean isEmpty() {
|
|
||||||
true
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
String toString() {
|
String toString() {
|
||||||
"EmptyProvider()"
|
"EmptyProvider()"
|
||||||
|
Loading…
Reference in New Issue
Block a user