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

Unified Diff: utils/pub/pub.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 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
« no previous file with comments | « utils/pub/io.dart ('k') | utils/pub/pubspec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/pub.dart
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
index a5d8340f5fd9b25a0eeaead2fb7da01eebb92f24..63880edca382efd60829e9ed0d691b075c1ca61e 100644
--- a/utils/pub/pub.dart
+++ b/utils/pub/pub.dart
@@ -68,7 +68,7 @@ main() {
return;
}
- if (globalOptions['help'] || globalOptions.rest.isEmpty()) {
+ if (globalOptions['help'] || globalOptions.rest.isEmpty) {
printUsage();
return;
}
@@ -255,7 +255,7 @@ abstract class PubCommand {
print('Usage: $usage');
var commandUsage = commandParser.getUsage();
- if (!commandUsage.isEmpty()) {
+ if (!commandUsage.isEmpty) {
print('');
print(commandUsage);
}
« no previous file with comments | « utils/pub/io.dart ('k') | utils/pub/pubspec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698