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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/package.dart

Issue 22941002: Remove unused imports in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 pub.package; 5 library pub.package;
6 6
7 import 'dart:async';
8
9 import 'package:path/path.dart' as path; 7 import 'package:path/path.dart' as path;
10 8
11 import 'io.dart'; 9 import 'io.dart';
12 import 'pubspec.dart'; 10 import 'pubspec.dart';
13 import 'source_registry.dart'; 11 import 'source_registry.dart';
14 import 'utils.dart'; 12 import 'utils.dart';
15 import 'version.dart'; 13 import 'version.dart';
16 14
17 final _README_REGEXP = new RegExp(r"^README($|\.)", caseSensitive: false); 15 final _README_REGEXP = new RegExp(r"^README($|\.)", caseSensitive: false);
18 16
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 class PubspecNameMismatchException extends ApplicationException { 211 class PubspecNameMismatchException extends ApplicationException {
214 final String expectedName; 212 final String expectedName;
215 final String actualName; 213 final String actualName;
216 214
217 PubspecNameMismatchException(String expectedName, String actualName) 215 PubspecNameMismatchException(String expectedName, String actualName)
218 : expectedName = expectedName, 216 : expectedName = expectedName,
219 actualName = actualName, 217 actualName = actualName,
220 super('The name you specified for your dependency, "$expectedName", ' 218 super('The name you specified for your dependency, "$expectedName", '
221 'doesn\'t match the name "$actualName" in its pubspec.'); 219 'doesn\'t match the name "$actualName" in its pubspec.');
222 } 220 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/lock_file.dart ('k') | sdk/lib/_internal/pub/lib/src/pub_package_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698