# HG changeset patch
# User Raimund Renkert <rrenkert@intevation.de>
# Date 1371040866 -7200
# Node ID 7c36f3e199344fea514107c4f706a95a29c6a3fb
# Parent  816444ca259b00240b8703ec7fa3d27ef777be31
Initialize the error and warnings maps.

diff -r 816444ca259b -r 7c36f3e19934 src/main/java/de/intevation/lada/rest/Response.java
--- a/src/main/java/de/intevation/lada/rest/Response.java	Wed Jun 12 14:40:13 2013 +0200
+++ b/src/main/java/de/intevation/lada/rest/Response.java	Wed Jun 12 14:41:06 2013 +0200
@@ -31,6 +31,8 @@
         this.success = success;
         this.message = Integer.toString(code);
         this.data = data;
+        this.errors = new HashMap<String, String>();
+        this.warnings = new HashMap<String, String>();
     }
 
     public Boolean getSuccess() {