[PATCH] Suggestion: sort measurement stations along the river and only along the river
Wald Commits
scm-commit at wald.intevation.org
Tue Sep 9 12:03:51 CEST 2014
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1410257026 -7200
# Node ID 0a994bbe645ec9288b6355de573ba65ea22f2511
# Parent f8ea1a7ecde67ae9c5b81f3a659960cf5bc88311
Suggestion: sort measurement stations along the river and only along the river.
diff -r f8ea1a7ecde6 -r 0a994bbe645e gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java Tue Sep 09 11:13:37 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java Tue Sep 09 12:03:46 2014 +0200
@@ -81,12 +81,15 @@
private void addStation(MeasurementStation station,
List<MeasurementStation> empty) {
+ /* switch off sorting stations without range to the end
if (station.getKmStart() != null && station.getKmEnd() != null) {
addStation(station);
}
else {
empty.add(station);
}
+ */
+ addStation(station);
}
private void addStation(MeasurementStation station) {
More information about the Dive4Elements-commits
mailing list