Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ignore] Keep reindexCollection method in NativeBroker public for com…
…patibility with external code.
  • Loading branch information
wolfgangmm committed Feb 6, 2014
commit d603d2b1a2874b94640588f1f32ca11bc0466c5a
4 changes: 2 additions & 2 deletions src/org/exist/storage/NativeBroker.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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))
Expand Down