Skip to content

Commit 37d4a32

Browse files
committed
[refactor] Remove unused fields from NativeBroker
1 parent 3183a20 commit 37d4a32

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

exist-core/src/main/java/org/exist/storage/NativeBroker.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ public class NativeBroker implements DBBroker {
167167

168168
private final static DigestType BINARY_RESOURCE_DIGEST_TYPE = DigestType.BLAKE_256;
169169

170-
private boolean caseSensitive = true;
171-
172170
private Configuration config;
173171

174172
private BrokerPool pool;
@@ -224,7 +222,6 @@ public class NativeBroker implements DBBroker {
224222
private IEmbeddedXMLStreamReader streamReader;
225223

226224
private final LockManager lockManager;
227-
private final Optional<JournalManager> logManager;
228225

229226
/**
230227
* Observer Design Pattern: List of ContentLoadingObserver objects
@@ -236,15 +233,10 @@ public class NativeBroker implements DBBroker {
236233
// initialize database; read configuration, etc.
237234
public NativeBroker(final BrokerPool pool, final Configuration config) throws EXistException {
238235
this.config = config;
239-
final Boolean temp = (Boolean) config.getProperty(NativeValueIndex.PROPERTY_INDEX_CASE_SENSITIVE);
240-
if (temp != null) {
241-
caseSensitive = temp;
242-
}
243236
this.pool = pool;
244237
this.preserveOnCopy = config.getProperty(PRESERVE_ON_COPY_PROPERTY, PreserveType.NO_PRESERVE);
245238

246239
this.lockManager = pool.getLockManager();
247-
this.logManager = pool.getJournalManager();
248240
LOG.debug("Initializing broker {}", hashCode());
249241

250242
final String prependDB = (String) config.getProperty("db-connection.prepend-db");

0 commit comments

Comments
 (0)