Skip to content

Commit b3f4bfe

Browse files
committed
[ignore] cleanup
1 parent 06689a5 commit b3f4bfe

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

exist-core/src/test/java/org/exist/collections/triggers/HistoryTriggerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void storeAndOverwriteByCopy() throws EXistException, PermissionDeniedExc
132132
storeInTestCollection(transaction, broker, testDoc2Name, testDoc2Content);
133133

134134
// overwrite the first document by copying the second over it (and make sure we don't get a StackOverflow exception)
135-
try(final Collection testCollection = broker.openCollection(TEST_COLLECTION_URI, Lock.LockMode.WRITE_LOCK);) {
135+
try(final Collection testCollection = broker.openCollection(TEST_COLLECTION_URI, Lock.LockMode.WRITE_LOCK)) {
136136
assertNotNull(testCollection);
137137

138138
try(final LockedDocument lockedDoc2 = testCollection.getDocumentWithLock(broker, testDoc2Name, Lock.LockMode.READ_LOCK)) {

exist-core/src/test/java/org/exist/config/TwoDatabasesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private Collection storeBin(final DBBroker broker, final Txn txn, String suffix)
143143
return top;
144144
}
145145

146-
private boolean getBin(final DBBroker broker, final String suffix) throws PermissionDeniedException, IOException, LockException {
146+
private boolean getBin(final DBBroker broker, final String suffix) throws PermissionDeniedException, IOException {
147147
BinaryDocument binDoc = null;
148148
try(final Collection top = broker.openCollection(XmldbURI.create("xmldb:exist:///db"), LockMode.READ_LOCK)) {
149149
binDoc = (BinaryDocument) top.getDocument(broker, XmldbURI.create("bin"));

exist-core/src/test/java/org/exist/util/XMLReaderSecurityTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void expandExternalEntities() throws EXistException, IOException, Permiss
159159

160160
try (final Collection testCollection = broker.openCollection(TEST_COLLECTION, Lock.LockMode.READ_LOCK)) {
161161

162-
try (final LockedDocument testDoc = testCollection.getDocumentWithLock(broker, docName, Lock.LockMode.READ_LOCK);){
162+
try (final LockedDocument testDoc = testCollection.getDocumentWithLock(broker, docName, Lock.LockMode.READ_LOCK)) {
163163

164164
// release the collection lock early inline with asymmetrical locking
165165
testCollection.close();
@@ -192,7 +192,7 @@ public void cannotExpandExternalEntitiesWhenDisabled() throws EXistException, IO
192192
try (final DBBroker broker = brokerPool.get(Optional.of(brokerPool.getSecurityManager().getSystemSubject()));
193193
final Txn transaction = brokerPool.getTransactionManager().beginTransaction()) {
194194

195-
try (final Collection testCollection = broker.openCollection(TEST_COLLECTION, Lock.LockMode.WRITE_LOCK);){
195+
try (final Collection testCollection = broker.openCollection(TEST_COLLECTION, Lock.LockMode.WRITE_LOCK)) {
196196

197197
//debugReader("cannotExpandExternalEntitiesWhenDisabled", broker, testCollection);
198198

exist-core/src/test/java/org/exist/xquery/functions/securitymanager/PermissionsFunctionChownTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ private static void assertDocumentSetUidSetGid(final Subject execAsUser, final X
16021602
private static void assertCollectionSetUidSetGid(final Subject execAsUser, final XmldbURI uri, final boolean isSet) throws EXistException, PermissionDeniedException {
16031603
final BrokerPool pool = existWebServer.getBrokerPool();
16041604
try (final DBBroker broker = pool.get(Optional.of(execAsUser))) {
1605-
try (final Collection col = broker.openCollection(uri, Lock.LockMode.READ_LOCK);) {
1605+
try (final Collection col = broker.openCollection(uri, Lock.LockMode.READ_LOCK)) {
16061606

16071607
if (isSet) {
16081608
assertTrue(col.getPermissions().isSetUid());

0 commit comments

Comments
 (0)