Fixed a typo

This commit is contained in:
Ali Dehghani 2020-06-25 13:32:33 +04:30
parent 56c231c662
commit 672d6ed5d8
1 changed files with 1 additions and 1 deletions

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