Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/LoadScenarioSelect.java @ 9222:5a0e8d76582e
uinfo.salix regional workflow
author | gernotbelger |
---|---|
date | Wed, 04 Jul 2018 13:06:28 +0200 |
parents | fc02833dbcc1 |
children | 1b2623dff742 |
comparison
equal
deleted
inserted
replaced
9221:5c34fe17ef15 | 9222:5a0e8d76582e |
---|---|
64 } | 64 } |
65 | 65 |
66 @Override | 66 @Override |
67 public boolean validate(final Artifact artifact) throws IllegalArgumentException { | 67 public boolean validate(final Artifact artifact) throws IllegalArgumentException { |
68 return true; | 68 return true; |
69 // final CollisionLoadYearEpochAccess access = new CollisionLoadYearEpochAccess((D4EArtifact) artifact); | 69 |
70 // | |
71 // // Second year should be later than first. | |
72 // if (access.getYears() == null || access.getYears().length == 0) | |
73 // return true; // TODO: richtig in CollisionLoadYear... implementieren | |
74 // // throw new IllegalArgumentException("error_years_wrong"); | |
75 // | |
76 // return true; | |
77 } | 70 } |
78 } | 71 } |
79 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 72 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |