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

Unified Diff: corelib/src/strings.dart

Issue 10883052: Unify String. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Style and add missing file. Created 8 years, 4 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 | « corelib/src/string.dart ('k') | lib/compiler/implementation/lib/coreimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/strings.dart
diff --git a/corelib/src/strings.dart b/corelib/src/strings.dart
index 9462ee10eb9fc7a76f7e98f8c04f0b095f4bab52..a3adffd299aa93fd11665c7a7cadb492737b8c06 100644
--- a/corelib/src/strings.dart
+++ b/corelib/src/strings.dart
@@ -3,26 +3,17 @@
// BSD-style license that can be found in the LICENSE file.
class Strings {
-
- /**
- * Factory implementation of String.fromCharCodes:
- * Allocates a new String for the specified [charCodes].
- */
- factory String.fromCharCodes(List<int> charCodes) {
- return StringBase.createFromCharCodes(charCodes);
- }
-
/**
* Joins all the given strings to create a new string.
*/
static String join(List<String> strings, String separator) {
- return StringBase.join(strings, separator);
+ return StringImplementation.join(strings, separator);
}
/**
* Concatenates all the given strings to create a new string.
*/
static String concatAll(List<String> strings) {
- return StringBase.concatAll(strings);
+ return StringImplementation.concatAll(strings);
}
}
« no previous file with comments | « corelib/src/string.dart ('k') | lib/compiler/implementation/lib/coreimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698