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

Unified Diff: sdk/lib/io/path_impl.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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/path_impl.dart
diff --git a/sdk/lib/io/path_impl.dart b/sdk/lib/io/path_impl.dart
index 2ea2fea9893e3bf0bc4ccde1a394be2046e8d2b6..a42a290e5215d7c5361fc57f79ad5dc3e4ffa965 100644
--- a/sdk/lib/io/path_impl.dart
+++ b/sdk/lib/io/path_impl.dart
@@ -103,7 +103,7 @@ class _Path implements Path {
if (hasTrailingSeparator) {
segments.add('');
}
- return new Path(Strings.join(segments, '/'));
+ return new Path(segments.join('/'));
}
@@ -210,8 +210,7 @@ class _Path implements Path {
segmentsToJoin.add('');
}
}
- return new _Path._internal(Strings.join(segmentsToJoin, '/'),
- isWindowsShare);
+ return new _Path._internal(segmentsToJoin.join('/'), isWindowsShare);
}
String toNativePath() {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698