[Lada-commits] [PATCH] Add warning to existing client-side fields

Wald Commits scm-commit at wald.intevation.org
Thu Feb 2 17:32:39 CET 2017


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1486053150 -3600
# Node ID bbfb7c3b5dd801ba0398a07ab49f3f897f056ed4
# Parent  b63e0abcbf84cb65ba20bf4ce96420bc3e1c4173
Add warning to existing client-side fields.

diff -r b63e0abcbf84 -r bbfb7c3b5dd8 src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java
--- a/src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java	Thu Feb 02 17:28:31 2017 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java	Thu Feb 02 17:32:30 2017 +0100
@@ -78,7 +78,8 @@
                 }
             }
             Violation violation = new Violation();
-            violation.addWarning("verwaltungsgrenze", 651);
+            violation.addWarning("koordXExtern", 651);
+            violation.addWarning("koordYExtern", 651);
             return violation;
         }
 


More information about the Lada-commits mailing list