comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadYearSelect.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 9fa5c66073e7
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
42 42
43 @Override 43 @Override
44 public boolean validate(Artifact artifact) 44 public boolean validate(Artifact artifact)
45 throws IllegalArgumentException 45 throws IllegalArgumentException
46 { 46 {
47 SedimentLoadAccess access = new SedimentLoadAccess((D4EArtifact) artifact); 47 SedimentLoadAccess access =
48 new SedimentLoadAccess((D4EArtifact)artifact);
48 49
49 // Second year should be later than first. 50 // Second year should be later than first.
50 if (access.getYears() == null || access.getYears().length == 0) 51 if (access.getYears() == null || access.getYears().length == 0)
51 throw new IllegalArgumentException("error_years_wrong"); 52 throw new IllegalArgumentException("error_years_wrong");
52 53

http://dive4elements.wald.intevation.org