Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesState.java @ 9069:1ffd38826175
access uinfo.vegetationzones+inundation_duration
author | gernotbelger |
---|---|
date | Tue, 15 May 2018 12:00:26 +0200 |
parents | a6b3421dc2b4 |
children | 611a523fc42f |
comparison
equal
deleted
inserted
replaced
9068:a5cf8d7bff3c | 9069:1ffd38826175 |
---|---|
93 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, this.id)); | 93 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, this.id)); |
94 | 94 |
95 return res; | 95 return res; |
96 } | 96 } |
97 | 97 |
98 private CalculationResult doCompute(final UINFOArtifact sinfo, final CallContext context, final Object old) { | 98 private CalculationResult doCompute(final UINFOArtifact uinfo, final CallContext context, final Object old) { |
99 if (old instanceof CalculationResult) | 99 if (old instanceof CalculationResult) |
100 return (CalculationResult) old; | 100 return (CalculationResult) old; |
101 | 101 |
102 return new VegetationZonesCalculation(context).calculate(sinfo); // Test2 | 102 return new VegetationZonesCalculation(context).calculate(uinfo); |
103 } | 103 } |
104 } | 104 } |