docs: add explanation for Double-Checked Locking (#2914)

This commit is contained in:
Ilkka Seppälä
2024-04-13 08:02:29 +03:00
committed by GitHub
parent 2807f1f976
commit 9240d80ef2
3 changed files with 115 additions and 14 deletions
@@ -35,7 +35,6 @@ class AppTest {
/**
* Issue: Add at least one assertion to this test case.
*
* Solution: Inserted assertion to check whether the execution of the main method in {@link App#main(String[])}
* throws an exception.
*/