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

Unified Diff: pkg/dartdoc/bin/dartdoc.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 | « lib/uri/helpers.dart ('k') | pkg/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/bin/dartdoc.dart
diff --git a/pkg/dartdoc/bin/dartdoc.dart b/pkg/dartdoc/bin/dartdoc.dart
index 5e728e87fecbfbb1632315e88938524b29c89613..5e7a9b0bff57798de465bc25a60d2cd762640c32 100644
--- a/pkg/dartdoc/bin/dartdoc.dart
+++ b/pkg/dartdoc/bin/dartdoc.dart
@@ -126,7 +126,7 @@ main() {
'default. Specify a comma-separated list of\n'
'library names, or call this option multiple times.',
callback: (incLibs) {
- if(!incLibs.isEmpty()) {
+ if(!incLibs.isEmpty) {
List<String> allLibs = new List<String>();
for(final lst in incLibs) {
var someLibs = lst.split(',');
@@ -145,7 +145,7 @@ main() {
'comma-separated list of library names, or call\n'
'this option multiple times.',
callback: (excLibs) {
- if(!excLibs.isEmpty()) {
+ if(!excLibs.isEmpty) {
List<String> allLibs = new List<String>();
for(final lst in excLibs) {
var someLibs = lst.split(',');
@@ -168,7 +168,7 @@ main() {
dartdoc.dartdocPath = libPath.append('pkg/dartdoc');
- if (args.isEmpty()) {
+ if (args.isEmpty) {
print('No arguments provided.');
print(USAGE);
print(argParser.getUsage());
@@ -188,7 +188,7 @@ main() {
return;
}
- if (entrypoints.isEmpty()) {
+ if (entrypoints.isEmpty) {
print('No entrypoints provided.');
print(argParser.getUsage());
return;
« no previous file with comments | « lib/uri/helpers.dart ('k') | pkg/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698