[Dive4elements-commits] [PATCH] Add an Override to the compare method

Wald Commits scm-commit at wald.intevation.org
Tue Jun 4 16:58:53 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1370357929 -7200
# Node ID a07521dca5b5947a0be7f76631ca61c760b20216
# Parent  7573683925a371b422ddbf9ccf48a24de7275b35
Add an Override to the compare method

diff -r 7573683925a3 -r a07521dca5b5 artifacts/src/main/java/org/dive4elements/river/artifacts/states/DischargeState.java
--- 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());
             }


More information about the Dive4elements-commits mailing list