Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadDataFacet.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 | c657ddcf1fa6 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
93 @Override | 93 @Override |
94 public Object getData(Artifact artifact, CallContext context) { | 94 public Object getData(Artifact artifact, CallContext context) { |
95 | 95 |
96 D4EArtifact flys = (D4EArtifact) artifact; | 96 D4EArtifact flys = (D4EArtifact) artifact; |
97 | 97 |
98 CalculationResult res = (CalculationResult) flys.compute(context, hash, stateId, type, false); | 98 CalculationResult res = (CalculationResult)flys.compute( |
99 context, hash, stateId, type, false); | |
99 Object payload = res.getData(); | 100 Object payload = res.getData(); |
100 | 101 |
101 if (!(payload instanceof SedimentLoadDataResult)) { | 102 if (!(payload instanceof SedimentLoadDataResult)) { |
102 log.error("Invalid result!"); | 103 log.error("Invalid result!"); |
103 } | 104 } |