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

Unified Diff: sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart

Issue 12295014: Remove deprecated Strings class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
index 67109a45fee2132a32fa82ce0f87855afb9c4849..a5be1a780c2d50be809abdc671e546f2490c788f 100644
--- a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
+++ b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
@@ -234,7 +234,7 @@ class CodeBlockSyntax extends BlockSyntax {
childLines.add('');
// Escape the code.
- final escaped = classifySource(Strings.join(childLines, '\n'));
+ final escaped = classifySource(childLines.join('\n'));
return new Element.text('pre', escaped);
}
@@ -275,7 +275,7 @@ class BlockHtmlSyntax extends BlockSyntax {
parser.advance();
}
- return new Text(Strings.join(childLines, '\n'));
+ return new Text(childLines.join('\n'));
}
}
@@ -457,8 +457,7 @@ class ParagraphSyntax extends BlockSyntax {
parser.advance();
}
- final contents = parser.document.parseInline(
- Strings.join(childLines, '\n'));
+ final contents = parser.document.parseInline(childLines.join('\n'));
return new Element('p', contents);
}
}
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/src/dartdoc/utils.dart ('k') | sdk/lib/_internal/dartdoc/test/markdown_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698