removing unnecessary isEmpty check

This commit is contained in:
Saurav Kumar 2023-04-02 05:47:59 +00:00
parent 9e400225e6
commit 6eddf102a4

View File

@ -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;
}