changeset 561:20016be6c072

Return null as data.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 13 Mar 2015 16:47:21 +0100
parents c3742f46c8e1
children fffee95c4cb6
files src/main/java/de/intevation/lada/rest/ProbeService.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/ProbeService.java	Fri Mar 13 16:46:15 2015 +0100
+++ b/src/main/java/de/intevation/lada/rest/ProbeService.java	Fri Mar 13 16:47:21 2015 +0100
@@ -208,7 +208,7 @@
         }
         Violation violation = validator.validate(probe);
         if (violation.hasErrors()) {
-            Response response = new Response(false, 604, probe);
+            Response response = new Response(false, 604, null);
             response.setErrors(violation.getErrors());
             response.setWarnings(violation.getWarnings());
             return response;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)