Skip to content

Commit f34633f

Browse files
committed
Updates after code review
1 parent 6c00792 commit f34633f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exist-core/src/main/java/org/exist/xslt/TransformerFactoryAllocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static SAXTransformerFactory getTransformerFactory(final BrokerPool pool)
9292
LOG.debug("Set transformer factory: " + transformerFactoryClassName);
9393
}
9494
final Hashtable<String, Object> attributes = (Hashtable<String, Object>) pool.getConfiguration().getProperty(PROPERTY_TRANSFORMER_ATTRIBUTES);
95-
Iterator<String> iterator = attributes.keySet().iterator();
95+
final Iterator<String> iterator = attributes.keySet().iterator();
9696
while (iterator.hasNext()) {
9797
final String name = iterator.next();
9898
final Object value = attributes.get(name);

extensions/indexes/spatial/src/main/java/org/exist/indexing/spatial/AbstractGMLJDBCIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void configure(BrokerPool pool, Path dataDir, Element config) throws Data
8686
super.configure(pool, dataDir, config);
8787
try {
8888
checkDatabase();
89-
} catch (ClassNotFoundException | SQLException e) {
89+
} catch (final ClassNotFoundException | SQLException e) {
9090
throw new DatabaseConfigurationException(e.getMessage());
9191
}
9292
}

extensions/indexes/spatial/src/main/java/org/exist/indexing/spatial/AbstractGMLJDBCIndexWorker.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public Object configure(IndexController controller, NodeList configNodes, Map<St
146146
this.controller = controller;
147147
Map<String, GMLIndexConfig> map = null;
148148
for(int i = 0; i < configNodes.getLength(); i++) {
149-
Node node = configNodes.item(i);
149+
final Node node = configNodes.item(i);
150150
if (node.getNodeType() == Node.ELEMENT_NODE &&
151151
INDEX_ELEMENT.equals(node.getLocalName())) {
152152
map = new TreeMap<>();
@@ -164,7 +164,7 @@ public void setDocument(DocumentImpl document) {
164164
if (document != null) {
165165
IndexSpec idxConf = document.getCollection().getIndexConfiguration(getBroker());
166166
if (idxConf != null) {
167-
Map collectionConfig = (Map) idxConf.getCustomIndexSpec(AbstractGMLJDBCIndex.ID);
167+
final Map collectionConfig = (Map) idxConf.getCustomIndexSpec(AbstractGMLJDBCIndex.ID);
168168
if (collectionConfig != null) {
169169
isDocumentGMLAware = true;
170170
if (collectionConfig.get(AbstractGMLJDBCIndex.ID) != null)
@@ -514,7 +514,7 @@ public boolean checkIndex(DBBroker broker) {
514514
try {
515515
conn = acquireConnection();
516516
return checkIndex(broker, conn);
517-
} catch (SQLException | SpatialIndexException e) {
517+
} catch (final SQLException | SpatialIndexException e) {
518518
LOG.error(e);
519519
return false;
520520
} finally {

0 commit comments

Comments
 (0)