Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/model/Range.java @ 205:697d1faa8217
Forgot to save the last change before commit.
flys-backend/trunk@1582 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 09:46:24 +0000 |
parents | 764835268e2b |
children | 7b1c5fe4ebf3 |
comparison
equal
deleted
inserted
replaced
204:764835268e2b | 205:697d1faa8217 |
---|---|
117 case 2: // has b | 117 case 2: // has b |
118 switch (ocode) { | 118 switch (ocode) { |
119 case 1: // has a | 119 case 1: // has a |
120 return b.compareTo(other.a) == 0; | 120 return b.compareTo(other.a) == 0; |
121 case 2: // has b | 121 case 2: // has b |
122 return a.compareTo(other.b) == 0; | 122 return b.compareTo(other.b) == 0; |
123 case 3: // has range | 123 case 3: // has range |
124 return other.intersects(b); | 124 return other.intersects(b); |
125 } | 125 } |
126 break; | 126 break; |
127 case 3: // has range | 127 case 3: // has range |