changeset 6186:a07521dca5b5

Add an Override to the compare method
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 04 Jun 2013 16:58:49 +0200
parents 7573683925a3
children 7bc35bbd8b27
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/DischargeState.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DischargeState.java	Tue Jun 04 16:45:23 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DischargeState.java	Tue Jun 04 16:58:49 2013 +0200
@@ -71,6 +71,7 @@
         KVP[] kvp = new KVP[zones.size()];
 
         Collections.sort(zones, new Comparator<DischargeZone>() {
+            @Override
             public int compare(DischargeZone a, DischargeZone b) {
                 return a.getValue().compareTo(b.getValue());
             }

http://dive4elements.wald.intevation.org