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

Unified Diff: lib/core/strings.dart

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove left-over List change in comment. 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
Index: lib/core/strings.dart
diff --git a/lib/core/strings.dart b/lib/core/strings.dart
index e8cbcc024a4c4b4ebfc9111182a7c90008c465bf..5029b46d4badd6f8f560b4dc32fa1410078ec189 100644
--- a/lib/core/strings.dart
+++ b/lib/core/strings.dart
@@ -6,14 +6,10 @@ abstract class Strings {
/**
* Joins all the given strings to create a new string.
*/
- static String join(List<String> strings, String separator) {
- return StringImplementation.join(strings, separator);
- }
+ external static String join(List<String> strings, String separator);
/**
* Concatenates all the given strings to create a new string.
*/
- static String concatAll(List<String> strings) {
- return StringImplementation.concatAll(strings);
- }
+ external static String concatAll(List<String> strings);
}

Powered by Google App Engine
This is Rietveld 408576698