commit | 515822798e7aa9c13dba3f7e9e63bcff3112e3be | [log] [tgz] |
---|---|---|
author | Tom Barber <tom@spicule.co.uk> | Wed Jul 18 14:14:17 2018 +0200 |
committer | Chris Mattmann <chris.a.mattmann@jpl.nasa.gov> | Sat Aug 04 21:36:51 2018 -0700 |
tree | c25f167dee8e36107e83b271800bfafc96ce7a8a | |
parent | edd681494c0d39a0f3f58d1a948ff7a78116582d [diff] |
add more syncronized
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 @@ 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;