Instantiate all ValidationMessage with this() instead of super() (#853)
super() would call Object() instead of ValidationMessage(). This way, debugging can track instantiations of ValidationMessage from one place Co-authored-by: dotasek <david.otasek@smilecdr.com>
This commit is contained in:
parent
14494d23b9
commit
5560093c02
|
@ -526,7 +526,7 @@ public class ValidationMessage implements Comparator<ValidationMessage>, Compara
|
|||
}
|
||||
|
||||
public ValidationMessage(Source source, IssueType type, String path, String message, IssueSeverity level) {
|
||||
super();
|
||||
this();
|
||||
this.line = -1;
|
||||
this.col = -1;
|
||||
this.location = path;
|
||||
|
@ -544,7 +544,7 @@ public class ValidationMessage implements Comparator<ValidationMessage>, Compara
|
|||
}
|
||||
|
||||
public ValidationMessage(Source source, IssueType type, int line, int col, String path, String message, IssueSeverity level) {
|
||||
super();
|
||||
this();
|
||||
this.line = line;
|
||||
this.col = col;
|
||||
this.location = path;
|
||||
|
@ -560,7 +560,7 @@ public class ValidationMessage implements Comparator<ValidationMessage>, Compara
|
|||
}
|
||||
|
||||
public ValidationMessage(Source source, IssueType type, String path, String message, String html, IssueSeverity level) {
|
||||
super();
|
||||
this();
|
||||
this.line = -1;
|
||||
this.col = -1;
|
||||
this.location = path;
|
||||
|
@ -578,7 +578,7 @@ public class ValidationMessage implements Comparator<ValidationMessage>, Compara
|
|||
}
|
||||
|
||||
public ValidationMessage(Source source, IssueType type, int line, int col, String path, String message, String html, IssueSeverity level) {
|
||||
super();
|
||||
this();
|
||||
this.line = line;
|
||||
this.col = col;
|
||||
this.location = path;
|
||||
|
|
Loading…
Reference in New Issue