SettingsHolder.java
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.aem.formsndocuments.util;
public class SettingsHolder {
private static SettingsHolder settingsHolder = null;
private Boolean lcInstance = null;
private Boolean isAuthorInstance = null;
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public static SettingsHolder getInstance() {
if (settingsHolder != null) return settingsHolder;
Class<SettingsHolder> class_ = SettingsHolder.class;
synchronized (SettingsHolder.class) {
if (settingsHolder != null) return settingsHolder;
{
settingsHolder = new SettingsHolder();
}
// ** MonitorExit[var0] (shouldn't be in output)
return settingsHolder;
}
}
public Boolean getLcInstance() {
return this.lcInstance;
}
public void setLcInstance(Boolean lcInstance) {
this.lcInstance = lcInstance;
}
public Boolean isAuthorInstance() {
return this.isAuthorInstance;
}
public void setAuthorInstance(Boolean isAuthorInstance) {
this.isAuthorInstance = isAuthorInstance;
}
}