Skip to content

Commit 649596d

Browse files
committed
update > 优化
1 parent 4b14d83 commit 649596d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

concurrent/src/main/java/juc/SemaphoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void use() {
4343
System.out.println(Thread.currentThread().getName() +" 使用完毕");
4444
} catch (InterruptedException e) {
4545
e.printStackTrace();
46-
}finally{
46+
} finally{
4747
//释放许可
4848
semaphore.release();
4949
}

0 commit comments

Comments
 (0)