Fixed a typo

This commit is contained in:
Ali Dehghani
2020-06-25 13:32:33 +04:30
parent 63ecda4b8e
commit 990affa396

View File

@@ -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");