mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 08:48:46 +02:00
removing unnecessary isEmpty check
This commit is contained in:
parent
9e400225e6
commit
6eddf102a4
|
@ -96,7 +96,7 @@ public final class EarlybirdResponseMergeUtil {
|
|||
List<ThriftSearchResult> resultsToAdd,
|
||||
ThriftTweetSource tweetSource) {
|
||||
Preconditions.checkNotNull(results);
|
||||
if ((resultsToAdd == null) || resultsToAdd.isEmpty()) {
|
||||
if ((resultsToAdd == null)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user