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

Unified Diff: sdk/lib/_internal/pub/lib/src/solver/version_solver.dart

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
diff --git a/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart b/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
index cf47da25afa0b114af61ae788a9a1b19d017f77b..aff70422f8c4ba3c9ce351b01bc4f270c3b16113 100644
--- a/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
+++ b/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
@@ -22,7 +22,7 @@ import 'backtracking_solver.dart';
/// [lockFile].
///
/// If [useLatest] is given, then only the latest versions of the referenced
-/// packages will be used. This is for forcing an update to one or more
+/// packages will be used. This is for forcing an upgrade to one or more
/// packages.
Future<SolveResult> resolveVersions(SourceRegistry sources, Package root,
{LockFile lockFile, List<String> useLatest}) {
@@ -235,11 +235,11 @@ class NoVersionException extends SolveFailure {
// TODO(rnystrom): Report the list of depending packages and their constraints.
/// Exception thrown when the most recent version of [package] must be selected,
/// but doesn't match the [VersionConstraint] imposed on the package.
-class CouldNotUpdateException extends SolveFailure {
+class CouldNotUpgradeException extends SolveFailure {
final VersionConstraint constraint;
final Version best;
- CouldNotUpdateException(String package, this.constraint, this.best)
+ CouldNotUpgradeException(String package, this.constraint, this.best)
: super(package, null);
String get _message =>

Powered by Google App Engine
This is Rietveld 408576698