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

Side by Side Diff: pkg/barback/lib/src/errors.dart

Issue 23201013: pkg/barback: removed unused imports, added a missing import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.errors; 5 library barback.errors;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io';
9 8
10 import 'package:stack_trace/stack_trace.dart'; 9 import 'package:stack_trace/stack_trace.dart';
11 10
12 import 'asset_id.dart'; 11 import 'asset_id.dart';
13 import 'transformer.dart'; 12 import 'transformer.dart';
14 13
15 /// Error thrown when an asset with [id] cannot be found. 14 /// Error thrown when an asset with [id] cannot be found.
16 class AssetNotFoundException implements Exception { 15 class AssetNotFoundException implements Exception {
17 final AssetId id; 16 final AssetId id;
18 17
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 113
115 bool operator==(other) => 114 bool operator==(other) =>
116 other is TransformInfo && 115 other is TransformInfo &&
117 other.transformer == transformer && 116 other.transformer == transformer &&
118 other.primaryId == primaryId; 117 other.primaryId == primaryId;
119 118
120 int get hashCode => transformer.hashCode ^ primaryId.hashCode; 119 int get hashCode => transformer.hashCode ^ primaryId.hashCode;
121 120
122 String toString() => "$transformer on $primaryId"; 121 String toString() => "$transformer on $primaryId";
123 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698