comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java @ 3772:5a8f8fd5310c

The usual wipe after for ill configured Eclipses. flys-artifacts/trunk@5477 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 15 Sep 2012 18:11:51 +0000
parents e8a90a5ce624
children 9f9d5ada96ca
comparison
equal deleted inserted replaced
3771:04309ca24614 3772:5a8f8fd5310c
11 import de.intevation.flys.artifacts.states.DefaultState.ComputeType; 11 import de.intevation.flys.artifacts.states.DefaultState.ComputeType;
12 12
13 13
14 /** 14 /**
15 * Facet for serving bed density data. 15 * Facet for serving bed density data.
16 * 16 *
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
18 */ 18 */
19 public class BedDensityFacet extends DataFacet { 19 public class BedDensityFacet extends DataFacet {
20 20
21 private static final long serialVersionUID = 1L; 21 private static final long serialVersionUID = 1L;
22 22
23 private static Logger logger = Logger.getLogger(BedDensityFacet.class); 23 private static Logger logger = Logger.getLogger(BedDensityFacet.class);
24 24
25 public BedDensityFacet() { 25 public BedDensityFacet() {
26 } 26 }
27 27
38 CalculationResult res = (CalculationResult) flys.compute(context, hash, 38 CalculationResult res = (CalculationResult) flys.compute(context, hash,
39 stateId, type, false); 39 stateId, type, false);
40 40
41 Object[] data = (Object[]) res.getData(); // TODO CAST TO SPECIFIC CLASS 41 Object[] data = (Object[]) res.getData(); // TODO CAST TO SPECIFIC CLASS
42 42
43 return data != null && data.length > index ? data[index] : null; 43 return data != null && data.length > index ? data[index] : null;
44 } 44 }
45 45
46 /** Copy deeply. */ 46 /** Copy deeply. */
47 @Override 47 @Override
48 public Facet deepCopy() { 48 public Facet deepCopy() {

http://dive4elements.wald.intevation.org