Skip to content

Commit bce0074

Browse files
committed
Readd required noarg ctor
1 parent dfe0347 commit bce0074

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/net/sourceforge/pmd/util/fxdesigner/model/testing/LiveViolationRecord.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public class LiveViolationRecord implements SettingsOwner, Comparable<LiveViolat
2222
private int line;
2323

2424

25+
// this ctor is used by the thing that restores application state
26+
@SuppressWarnings("unused")
27+
public LiveViolationRecord() {
28+
this(-1, TextRegion.caretAt(0), null);
29+
}
30+
2531
public LiveViolationRecord(@NonNull TextRegion region, @Nullable String message) {
2632
this(-1, region, message);
2733
}

0 commit comments

Comments
 (0)