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

Unified Diff: packages/glob/lib/src/utils.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 months 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 | « packages/glob/lib/src/stream_pool.dart ('k') | packages/glob/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/glob/lib/src/utils.dart
diff --git a/packages/glob/lib/src/utils.dart b/packages/glob/lib/src/utils.dart
index 94f6a057c57bc6f835aa8ae6cef0ad7999e3d493..13c0b99b17caefb55e06bb74e883c74d73dcad10 100644
--- a/packages/glob/lib/src/utils.dart
+++ b/packages/glob/lib/src/utils.dart
@@ -18,14 +18,13 @@ class Range {
Range(this.min, this.max);
/// Returns a range that covers only [value].
- Range.singleton(int value)
- : this(value, value);
+ Range.singleton(int value) : this(value, value);
/// Whether [this] contains [value].
bool contains(int value) => value >= min && value <= max;
- bool operator==(Object other) => other is Range &&
- other.min == min && other.max == max;
+ bool operator ==(Object other) =>
+ other is Range && other.min == min && other.max == max;
int get hashCode => 3 * min + 7 * max;
}
« no previous file with comments | « packages/glob/lib/src/stream_pool.dart ('k') | packages/glob/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698