Jean-Francois Leveque

Retour vide plus propre

......@@ -10,6 +10,7 @@ import org.slf4j.LoggerFactory;
import javax.inject.Inject;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
......@@ -60,7 +61,7 @@ public class PublisherSearchRepositorySolrj implements PublisherSearchRepository
if (queryResponse != null) {
return queryResponse.getBeans(IndexedPublisher.class);
} else {
return null;
return new ArrayList<>();
}
}
}
......