mirror of https://github.com/apache/lucene.git
SOLR-10643: SOLR-10745: Remove unnecessary check for locked. It is always true.
This commit is contained in:
parent
3bf6e6fc6d
commit
2bd9347c75
|
@ -271,9 +271,7 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
|
|||
fail("Trigger should not have fired more than once!");
|
||||
}
|
||||
} finally {
|
||||
if (locked) {
|
||||
lock.unlock();
|
||||
}
|
||||
lock.unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -815,9 +813,7 @@ public class TriggerIntegrationTest extends SolrCloudTestCase {
|
|||
log.debug("--throwable", t);
|
||||
throw t;
|
||||
} finally {
|
||||
if (locked) {
|
||||
lock.unlock();
|
||||
}
|
||||
lock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue