diff backend/src/main/java/org/dive4elements/river/seddb/model/SlotlinksId.java @ 7252:c894b7b45c4c

Replaced some tabs by spaces. Guys, please configure your editors not to insert tabs!
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 05 Oct 2013 12:48:44 +0200
parents 4c3ccf2b0304
children
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/seddb/model/SlotlinksId.java	Sat Oct 05 12:19:54 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/seddb/model/SlotlinksId.java	Sat Oct 05 12:48:44 2013 +0200
@@ -181,11 +181,11 @@
 
    public boolean equals(Object other) {
          if ( (this == other ) ) return true;
-		 if ( (other == null ) ) return false;
-		 if ( !(other instanceof SlotlinksId) ) return false;
-		 SlotlinksId castOther = ( SlotlinksId ) other;
+         if ( (other == null ) ) return false;
+         if ( !(other instanceof SlotlinksId) ) return false;
+         SlotlinksId castOther = ( SlotlinksId ) other;
 
-		 return (this.getSlotrechteid()==castOther.getSlotrechteid())
+         return (this.getSlotrechteid()==castOther.getSlotrechteid())
  && (this.getMessungid()==castOther.getMessungid())
  && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) )
  && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) )

http://dive4elements.wald.intevation.org