We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f620af commit e09836cCopy full SHA for e09836c
1 file changed
liquidjava-verifier/src/main/java/liquidjava/diagnostics/Diagnostics.java
@@ -15,12 +15,10 @@ public class Diagnostics {
15
16
private final LinkedHashSet<LJError> errors;
17
private final LinkedHashSet<LJWarning> warnings;
18
- private boolean debugMode;
19
20
private Diagnostics() {
21
this.errors = new LinkedHashSet<>();
22
this.warnings = new LinkedHashSet<>();
23
- this.debugMode = false;
24
}
25
26
public static Diagnostics getInstance() {
@@ -35,14 +33,6 @@ public void add(LJWarning warning) {
35
33
this.warnings.add(warning);
36
34
37
38
- public boolean isDebugMode() {
39
- return this.debugMode;
40
- }
41
-
42
- public void setDebugMode() {
43
- this.debugMode = true;
44
45
46
public boolean foundError() {
47
return !this.errors.isEmpty();
48
0 commit comments