Index: utils/pub/yaml/deep_equals.dart |
diff --git a/utils/pub/yaml/deep_equals.dart b/utils/pub/yaml/deep_equals.dart |
index 95c69c77a52a17bc0f0749f75c570be09f0e246b..bce4aadf2e9c29b222c662d07d653c2674fa7c0e 100644 |
--- a/utils/pub/yaml/deep_equals.dart |
+++ b/utils/pub/yaml/deep_equals.dart |
@@ -4,10 +4,8 @@ |
library deep_equals; |
-/** |
- * Returns whether two objects are structurally equivalent. This considers NaN |
- * values to be equivalent. It also handles self-referential structures. |
- */ |
+/// Returns whether two objects are structurally equivalent. This considers NaN |
+/// values to be equivalent. It also handles self-referential structures. |
bool deepEquals(obj1, obj2, [List parents1, List parents2]) { |
if (identical(obj1, obj2)) return true; |
if (parents1 == null) { |
@@ -43,7 +41,7 @@ bool deepEquals(obj1, obj2, [List parents1, List parents2]) { |
} |
} |
-/** Returns whether [list1] and [list2] are structurally equal. */ |
+/// Returns whether [list1] and [list2] are structurally equal. |
bool _listEquals(List list1, List list2, List parents1, List parents2) { |
if (list1.length != list2.length) return false; |
@@ -54,7 +52,7 @@ bool _listEquals(List list1, List list2, List parents1, List parents2) { |
return true; |
} |
-/** Returns whether [map1] and [map2] are structurally equal. */ |
+/// Returns whether [map1] and [map2] are structurally equal. |
bool _mapEquals(Map map1, Map map2, List parents1, List parents2) { |
if (map1.length != map2.length) return false; |
@@ -66,10 +64,8 @@ bool _mapEquals(Map map1, Map map2, List parents1, List parents2) { |
return true; |
} |
-/** |
- * Returns whether two doubles are equivalent. This differs from `d1 == d2` in |
- * that it considers NaN to be equal to itself. |
- */ |
+/// Returns whether two doubles are equivalent. This differs from `d1 == d2` in |
+/// that it considers NaN to be equal to itself. |
bool _doubleEquals(double d1, double d2) { |
if (d1.isNaN && d2.isNaN) return true; |
return d1 == d2; |