Permalink
Browse files

[ignore] Keep reindexCollection method in NativeBroker public for com…

…patibility with external code.
  • Loading branch information...
1 parent a0f1a99 commit d603d2b1a2874b94640588f1f32ca11bc0466c5a @wolfgangmm wolfgangmm committed Feb 6, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/exist/storage/NativeBroker.java
@@ -1780,7 +1780,7 @@ public void reindexCollection(XmldbURI collectionName) throws PermissionDeniedEx
reindexCollection(collection, NodeProcessor.MODE_STORE);
}
- protected void reindexCollection(Collection collection, int mode) throws PermissionDeniedException {
+ public void reindexCollection(Collection collection, int mode) throws PermissionDeniedException {
final TransactionManager transact = pool.getTransactionManager();
final Txn transaction = transact.beginTransaction();
long start = System.currentTimeMillis();
@@ -1803,7 +1803,7 @@ protected void reindexCollection(Collection collection, int mode) throws Permiss
}
}
- protected void reindexCollection(Txn transaction, Collection collection, int mode) throws PermissionDeniedException {
+ public void reindexCollection(Txn transaction, Collection collection, int mode) throws PermissionDeniedException {
final CollectionCache collectionsCache = pool.getCollectionsCache();
synchronized(collectionsCache) {
if (!collection.getPermissionsNoLock().validate(getSubject(), Permission.WRITE))

0 comments on commit d603d2b

Please sign in to comment.