Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java @ 4434:60c728e557f4
Backed out changeset e8a4d2fd25cc
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Nov 2012 12:28:50 +0100 |
parents | e8a4d2fd25cc |
children |
comparison
equal
deleted
inserted
replaced
4432:e8a4d2fd25cc | 4434:60c728e557f4 |
---|---|
32 String name, | 32 String name, |
33 CallContext context) | 33 CallContext context) |
34 { | 34 { |
35 River river = FLYSUtils.getRiver((FLYSArtifact) artifact); | 35 River river = FLYSUtils.getRiver((FLYSArtifact) artifact); |
36 List<Gauge> gauges = river.getGauges(); | 36 List<Gauge> gauges = river.getGauges(); |
37 //Collections.sort(gauges); | 37 Collections.sort(gauges); |
38 | 38 |
39 int num = gauges != null ? gauges.size() : 0; | 39 int num = gauges != null ? gauges.size() : 0; |
40 | 40 |
41 Element[] opts = new Element[num]; | 41 Element[] opts = new Element[num]; |
42 | 42 |