Jean-Francois Leveque

Retour vide plus propre

...@@ -10,6 +10,7 @@ import org.slf4j.LoggerFactory; ...@@ -10,6 +10,7 @@ import org.slf4j.LoggerFactory;
10 10
11 import javax.inject.Inject; 11 import javax.inject.Inject;
12 import java.io.IOException; 12 import java.io.IOException;
13 +import java.util.ArrayList;
13 import java.util.List; 14 import java.util.List;
14 15
15 /** 16 /**
...@@ -60,7 +61,7 @@ public class PublisherSearchRepositorySolrj implements PublisherSearchRepository ...@@ -60,7 +61,7 @@ public class PublisherSearchRepositorySolrj implements PublisherSearchRepository
60 if (queryResponse != null) { 61 if (queryResponse != null) {
61 return queryResponse.getBeans(IndexedPublisher.class); 62 return queryResponse.getBeans(IndexedPublisher.class);
62 } else { 63 } else {
63 - return null; 64 + return new ArrayList<>();
64 } 65 }
65 } 66 }
66 } 67 }
......