Skip to content

Commit bef03e5

Browse files
committed
Fix a visbility nit from IntelliJ
1 parent a079599 commit bef03e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetBitsetCache.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ public DocumentSubsetBitsetCache(Settings settings, ThreadPool threadPool) {
130130
* @param cleanupExecutor An executor on which the cache cleanup tasks can be run. Due to the way the cache is structured internally,
131131
* it is sometimes necessary to run an asynchronous task to synchronize the internal state.
132132
*/
133-
protected DocumentSubsetBitsetCache(Settings settings, ExecutorService cleanupExecutor) {
133+
// visible for testing
134+
DocumentSubsetBitsetCache(Settings settings, ExecutorService cleanupExecutor) {
134135
final ReentrantReadWriteLock readWriteLock = new ReentrantReadWriteLock();
135136
this.cacheEvictionLock = new ReleasableLock(readWriteLock.writeLock());
136137
this.cacheModificationLock = new ReleasableLock(readWriteLock.readLock());

0 commit comments

Comments
 (0)