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

Unified Diff: pkg/serialization/lib/src/serialization_rule.dart

Issue 11613005: Duplicate of https://chromiumcodereview.appspot.com/11567018/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix from review comment 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
Index: pkg/serialization/lib/src/serialization_rule.dart
diff --git a/pkg/serialization/lib/src/serialization_rule.dart b/pkg/serialization/lib/src/serialization_rule.dart
index 1207b7379953a2ba165c5f316f155300a1661de4..46f9c57377e2b46a1ca4149728ff15e367aefb54 100644
--- a/pkg/serialization/lib/src/serialization_rule.dart
+++ b/pkg/serialization/lib/src/serialization_rule.dart
@@ -329,11 +329,6 @@ class PrimitiveRule extends SerializationRule {
}
}
-/** Helper function for PrimitiveRule to tell which objects it applies to. */
-bool isPrimitive(object) {
- return object is num || object is String || object is bool;
-}
-
/** Typedef for the object construction closure used in ClosureRule. */
typedef ConstructType(Map m);
« no previous file with comments | « pkg/serialization/lib/src/serialization_helpers.dart ('k') | pkg/serialization/test/polyfill_identity_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698