Fixed a typo
This commit is contained in:
parent
56c231c662
commit
672d6ed5d8
|
@ -35,7 +35,7 @@ public class BaeldungSychronizedBlockUnitTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void givenHoldingTheLock_whenReentrant_thenCanAcquireItItAgain() {
|
||||
public void givenHoldingTheLock_whenReentrant_thenCanAcquireItAgain() {
|
||||
Object lock = new Object();
|
||||
synchronized (lock) {
|
||||
System.out.println("First time acquiring it");
|
||||
|
|
Loading…
Reference in New Issue