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

Unified Diff: utils/pub/yaml/deep_equals.dart

Issue 11638010: Convert /** comments to /// in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years 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 | « utils/pub/yaml/constructor.dart ('k') | utils/pub/yaml/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « utils/pub/yaml/constructor.dart ('k') | utils/pub/yaml/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698