Skip to content

Commit 97a0b9f

Browse files
committed
(trivial) Remove double spaces in qhelp
1 parent b974a84 commit 97a0b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/Likely Bugs/Concurrency/UnreleasedLock.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<overview>
77
<p>
88
When a thread acquires a lock it must make sure to unlock it again;
9-
failing to do so can lead to deadlocks. If a lock allows a thread to acquire
9+
failing to do so can lead to deadlocks. If a lock allows a thread to acquire
1010
it multiple times, for example <code>java.util.concurrent.locks.ReentrantLock</code>,
1111
then the number of locks must match the number of unlocks in order to fully
1212
release the lock.
@@ -17,7 +17,7 @@ release the lock.
1717
<p>
1818
It is recommended practice always to immediately follow a call to <code>lock</code>
1919
with a <code>try</code> block and place the call to <code>unlock</code> inside the
20-
<code>finally</code> block. Beware of calls inside the <code>finally</code> block
20+
<code>finally</code> block. Beware of calls inside the <code>finally</code> block
2121
that could cause exceptions, as this may result in skipping the call to <code>unlock</code>.
2222
</p>
2323
</recommendation>

0 commit comments

Comments
 (0)