comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.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 9d3e44ab25f2
comparison
equal deleted inserted replaced
6100:de92e0cdebdc 6101:a0078e5e3b39
36 * 36 *
37 * @return the data. 37 * @return the data.
38 */ 38 */
39 @Override 39 @Override
40 public Object getData(Artifact artifact, CallContext context) { 40 public Object getData(Artifact artifact, CallContext context) {
41 BedHeightAccess access = new BedHeightAccess((D4EArtifact)artifact, context); 41 BedHeightAccess access = new BedHeightAccess((D4EArtifact)artifact);
42 if (type.equals("singlevalues")) { 42 if (type.equals("singlevalues")) {
43 return access.getSingleValues(); 43 return access.getSingleValues();
44 } 44 }
45 return access.getHeight(); 45 return access.getHeight();
46 } 46 }

http://dive4elements.wald.intevation.org