Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index 74a798e844c6bf5f62609b79ed8a24fd9b08be63..3a4d605626a0db086b020a1ad0300f39c91af632 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -211,11 +211,9 @@ class Apidoc extends Dartdoc { |
*/ |
String mdnUrl = null; |
- Apidoc(this.mdn, Path outputDir, int mode, |
- bool generateAppCache, [excludedLibraries, String version]) { |
- if (?excludedLibraries) { |
- this.excludedLibraries = excludedLibraries; |
- } |
+ Apidoc(this.mdn, Path outputDir, int mode, bool generateAppCache, |
+ [List<String> excludedLibraries, String version]) { |
+ if (excludedLibraries != null) this.excludedLibraries = excludedLibraries; |
this.version = version; |
this.outputDir = outputDir; |
this.mode = mode; |