Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java @ 6101:a0078e5e3b39
Removed unused context from RangeAccess and subclasses leading to some dead code removal.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 25 May 2013 19:32:58 +0200 |
parents | af13ceeba52a |
children | 173d872a374c |
comparison
equal
deleted
inserted
replaced
6100:de92e0cdebdc | 6101:a0078e5e3b39 |
---|---|
68 ) { | 68 ) { |
69 logger.debug("FlowVelocityState.computeAdvance"); | 69 logger.debug("FlowVelocityState.computeAdvance"); |
70 | 70 |
71 List<Facet> newFacets = new ArrayList<Facet>(); | 71 List<Facet> newFacets = new ArrayList<Facet>(); |
72 | 72 |
73 FlowVelocityAccess access = new FlowVelocityAccess(artifact, context); | 73 FlowVelocityAccess access = new FlowVelocityAccess(artifact); |
74 | 74 |
75 CalculationResult res = old instanceof CalculationResult | 75 CalculationResult res = old instanceof CalculationResult |
76 ? (CalculationResult) old | 76 ? (CalculationResult) old |
77 : new FlowVelocityCalculation().calculate(access); | 77 : new FlowVelocityCalculation().calculate(access); |
78 | 78 |