Skip to content
Snippets Groups Projects
Commit f776bdcc authored by Sven Kästle's avatar Sven Kästle
Browse files

fix: Add empty constructor

Need this for REST requests
parent cf9b0f1e
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ public class AnnotationBody {
private int startCharacter;
private int endCharacter;
// constructor
// constructors
public AnnotationBody(String title, String comment, int startCharacter, int endCharacter) {
this.title = title;
this.comment = comment;
......@@ -20,6 +20,9 @@ public class AnnotationBody {
this.endCharacter = endCharacter;
}
public AnnotationBody() {
}
// methods
public String getTitle() {
return title;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment