changeset 105:6883be216e64

Comment out dummy errors and warnings.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 11 Jun 2013 13:14:56 +0200
parents ba35b1f642ec
children 069cec27c9c6
files src/main/java/de/intevation/lada/validation/LProbeValidator.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/validation/LProbeValidator.java	Tue Jun 11 13:06:55 2013 +0200
+++ b/src/main/java/de/intevation/lada/validation/LProbeValidator.java	Tue Jun 11 13:14:56 2013 +0200
@@ -37,7 +37,7 @@
             throw new ValidationException(errors);
         }
         // Dummy warning.
-        warnings.put("entnahmeort", 612);
+        //warnings.put("entnahmeort", 612);
         validateId(probe);
     }
 
@@ -52,10 +52,10 @@
         Map<String, Integer> errors = new HashMap<String, Integer>();
         // TODO Implement me!
 
-        // Dummy error.
-        errors.put("probeId", 611);
-        ValidationException ve = new ValidationException(errors);
-        throw ve;
+        //// Dummy error.
+        //errors.put("probeId", 611);
+        //ValidationException ve = new ValidationException(errors);
+        //throw ve;
     }
 
     /**
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)