Skip to content

Commit e09836c

Browse files
committed
Removed unused code in Diagnostics
1 parent 2f620af commit e09836c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

liquidjava-verifier/src/main/java/liquidjava/diagnostics/Diagnostics.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ public class Diagnostics {
1515

1616
private final LinkedHashSet<LJError> errors;
1717
private final LinkedHashSet<LJWarning> warnings;
18-
private boolean debugMode;
1918

2019
private Diagnostics() {
2120
this.errors = new LinkedHashSet<>();
2221
this.warnings = new LinkedHashSet<>();
23-
this.debugMode = false;
2422
}
2523

2624
public static Diagnostics getInstance() {
@@ -35,14 +33,6 @@ public void add(LJWarning warning) {
3533
this.warnings.add(warning);
3634
}
3735

38-
public boolean isDebugMode() {
39-
return this.debugMode;
40-
}
41-
42-
public void setDebugMode() {
43-
this.debugMode = true;
44-
}
45-
4636
public boolean foundError() {
4737
return !this.errors.isEmpty();
4838
}

0 commit comments

Comments
 (0)