Add missed return
Change-Id: I0a01f3eb7ab8ffef965736c6aa0e03909914358c
This commit is contained in:
parent
07288c5458
commit
200370912a
@ -73,7 +73,7 @@ internal class TokenChunkEventPersistor @Inject constructor(
|
|||||||
if (receivedChunk.events.isEmpty() && receivedChunk.start == receivedChunk.end) {
|
if (receivedChunk.events.isEmpty() && receivedChunk.start == receivedChunk.end) {
|
||||||
Timber.w("Discard empty chunk with identical start/end token ${receivedChunk.start}")
|
Timber.w("Discard empty chunk with identical start/end token ${receivedChunk.start}")
|
||||||
|
|
||||||
if (receivedChunk.hasMore()) {
|
return if (receivedChunk.hasMore()) {
|
||||||
Result.SHOULD_FETCH_MORE
|
Result.SHOULD_FETCH_MORE
|
||||||
} else {
|
} else {
|
||||||
Result.REACHED_END
|
Result.REACHED_END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user