Skip to content

Commit

Permalink
Remove useless changes due to auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcxzyw committed Apr 18, 2022
1 parent 71714b7 commit 506af03
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,9 @@ private Observable<List<SuggestionItem>> getLocalSuggestionsObservable(
.getRelatedSearches(query, similarQueryLimit, 25)
.toObservable()
.map(searchHistoryEntries ->
searchHistoryEntries.stream()
.map(entry -> new SuggestionItem(true, entry))
.collect(Collectors.toList()));
searchHistoryEntries.stream()
.map(entry -> new SuggestionItem(true, entry))
.collect(Collectors.toList()));
}

private Observable<List<SuggestionItem>> getRemoteSuggestionsObservable(final String query) {
Expand Down Expand Up @@ -793,12 +793,12 @@ private void initSuggestionObserver() {
} else if (listNotification.isOnError()
&& listNotification.getError() != null
&& !ExceptionUtils.isInterruptedCaused(
listNotification.getError())) {
listNotification.getError())) {
showSnackBarError(new ErrorInfo(listNotification.getError(),
UserAction.GET_SUGGESTIONS, searchString, serviceId));
}
}, throwable -> showSnackBarError(new ErrorInfo(
throwable, UserAction.GET_SUGGESTIONS, searchString, serviceId)));
throwable, UserAction.GET_SUGGESTIONS, searchString, serviceId)));
}

@Override
Expand Down

0 comments on commit 506af03

Please sign in to comment.