We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab9f42 commit 112b009Copy full SHA for 112b009
common-tools/cnuphys/swimmer/src/main/java/cnuphys/lund/LundFileSupport.java
@@ -10,7 +10,7 @@ public class LundFileSupport {
10
11
private LundFileSupport() {}
12
13
- public static LundFileSupport getInstance() {
+ public static synchronized LundFileSupport getInstance() {
14
if (instance == null) {
15
instance = new LundFileSupport();
16
}
common-tools/cnuphys/swimmer/src/main/java/cnuphys/lund/LundSupport.java
@@ -69,7 +69,7 @@ private LundSupport() {
69
*
70
* @return the singleton object.
71
*/
72
- public static LundSupport getInstance() {
+ public static synchronized LundSupport getInstance() {
73
74
instance = new LundSupport();
75
instance.initStyles();
0 commit comments