From f776bdcc450360b52b4b4b6c98f6bbe5a99a94de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20K=C3=A4stle?= <sven.kaestle@gmx.de> Date: Fri, 6 Jul 2018 21:45:02 +0200 Subject: [PATCH] fix: Add empty constructor Need this for REST requests --- .../gf/modules/annotation/model/AnnotationBody.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gemeinsamforschen/src/main/java/unipotsdam/gf/modules/annotation/model/AnnotationBody.java b/gemeinsamforschen/src/main/java/unipotsdam/gf/modules/annotation/model/AnnotationBody.java index 7db2de1f..53c65233 100644 --- a/gemeinsamforschen/src/main/java/unipotsdam/gf/modules/annotation/model/AnnotationBody.java +++ b/gemeinsamforschen/src/main/java/unipotsdam/gf/modules/annotation/model/AnnotationBody.java @@ -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; -- GitLab