Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: samples/swarm/swarm_ui_lib/touch/Geometry.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/swarm/swarm_ui_lib/touch/FxUtil.dart ('k') | samples/swarm/swarm_ui_lib/touch/Momentum.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « samples/swarm/swarm_ui_lib/touch/FxUtil.dart ('k') | samples/swarm/swarm_ui_lib/touch/Momentum.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698