Index: samples/swarm/swarm_ui_lib/touch/Geometry.dart |
diff --git a/samples/swarm/swarm_ui_lib/touch/Geometry.dart b/samples/swarm/swarm_ui_lib/touch/Geometry.dart |
index d7d57b93cc4b22edb0e11c8d1ce8f87d0e29b1ab..ec0e192b4b27c75b5e4d20ad7ed2dc4f6c369c05 100644 |
--- a/samples/swarm/swarm_ui_lib/touch/Geometry.dart |
+++ b/samples/swarm/swarm_ui_lib/touch/Geometry.dart |
@@ -37,7 +37,7 @@ class Coordinate { |
} |
bool operator ==(Coordinate other) { |
- return other !== null && x == other.x && y == other.y; |
+ return other != null && x == other.x && y == other.y; |
} |
static num squaredDistance(Coordinate a, Coordinate b) { |
@@ -73,7 +73,7 @@ class Interval { |
} |
bool operator ==(Interval other) { |
- return other !== null && other.start == start && other.end == end; |
+ return other != null && other.start == start && other.end == end; |
} |
Interval union(Interval other) { |