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

Unified Diff: utils/apidoc/html_diff.dart

Issue 10559030: Remove uses of string + from API document generator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove process_test.cc changes. Created 8 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 | « lib/dartdoc/frog/world.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/html_diff.dart
diff --git a/utils/apidoc/html_diff.dart b/utils/apidoc/html_diff.dart
index 32a2d600fb349844eacc8b1823d095a7c952b56e..415446c05066d5b03ff34c53aa20b7642b1a67a7 100644
--- a/utils/apidoc/html_diff.dart
+++ b/utils/apidoc/html_diff.dart
@@ -77,8 +77,8 @@ class HtmlDiff {
dom = world.libraries['dart:dom_deprecated'];
}
- HtmlDiff([bool printWarnings = false]) :
- _printWarnings = printWarnings,
+ HtmlDiff([bool printWarnings = false]) :
+ _printWarnings = printWarnings,
domToHtml = new Map<Member, Set<Member>>(),
htmlToDom = new Map<Member, Set<Member>>(),
domTypesToHtml = new Map<Type, Set<Type>>(),
@@ -87,7 +87,7 @@ class HtmlDiff {
void warn(String s) {
if (_printWarnings) {
- print('Warning: ' + s);
+ print('Warning: $s');
}
}
@@ -130,7 +130,7 @@ class HtmlDiff {
var domMembers = htmlToDomMembers(htmlMember, domTypes);
if (htmlMember == null && !domMembers.isEmpty()) {
- warn('dart:html member ${htmlMember.declaringType.name}.' +
+ warn('dart:html member ${htmlMember.declaringType.name}.'
'${htmlMember.name} has no corresponding dart:html member.');
}
« no previous file with comments | « lib/dartdoc/frog/world.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698