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 { ...@@ -12,7 +12,7 @@ public class AnnotationBody {
private int startCharacter; private int startCharacter;
private int endCharacter; private int endCharacter;
// constructor // constructors
public AnnotationBody(String title, String comment, int startCharacter, int endCharacter) { public AnnotationBody(String title, String comment, int startCharacter, int endCharacter) {
this.title = title; this.title = title;
this.comment = comment; this.comment = comment;
...@@ -20,6 +20,9 @@ public class AnnotationBody { ...@@ -20,6 +20,9 @@ public class AnnotationBody {
this.endCharacter = endCharacter; this.endCharacter = endCharacter;
} }
public AnnotationBody() {
}
// methods // methods
public String getTitle() { public String getTitle() {
return title; 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