Commit fe625c4
committed
Update App.java
it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm1 parent 6367335 commit fe625c4Copy full SHA for fe625c4
1 file changed
+1-1Lines changed: 1 addition & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- singleton/src/main/java/com/iluwatar
Expand file treeCollapse file tree
Open diff view settings
Collapse file
singleton/src/main/java/com/iluwatar/App.java
Copy file name to clipboardExpand all lines: singleton/src/main/java/com/iluwatar/App.java+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
|
0 commit comments