This is an automated email from the ASF dual-hosted git repository.

mattmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/oodt.git

commit 515822798e7aa9c13dba3f7e9e63bcff3112e3be
Author: Tom Barber <[email protected]>
AuthorDate: Wed Jul 18 14:14:17 2018 +0200

    add more syncronized
---
 .../main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java 
b/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java
index e57be73..bf57dd2 100644
--- 
a/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java
+++ 
b/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java
@@ -1371,7 +1371,7 @@ public class LuceneCatalog implements Catalog {
         return numHits;
     }
 
-    private List<Product> paginateQuery(Query query, ProductType type, int 
pageNum, ProductPage page)
+    private synchronized List<Product> paginateQuery(Query query, ProductType 
type, int pageNum, ProductPage page)
             throws CatalogException {
         List<Product> products = null;
         IndexSearcher searcher = null;

Reply via email to