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

Unified Diff: utils/apidoc/apidoc.dart

Issue 17773005: Remove ? operator from Apidoc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698