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

Unified Diff: sdk/lib/core/string_sink.dart

Issue 12300012: Revert "Add StringSink and update StringBuffer." (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/core/string_buffer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/string_sink.dart
diff --git a/sdk/lib/core/string_sink.dart b/sdk/lib/core/string_sink.dart
deleted file mode 100644
index c2eff2d79f069e0cd46c2b4e75875fb400e62bdc..0000000000000000000000000000000000000000
--- a/sdk/lib/core/string_sink.dart
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of dart.core;
-
-abstract class StringSink {
-
- /**
- * Converts [obj] to a String by invoking [:toString:] and adds the result to
- * this [StringSink].
- */
- void write(Object obj);
-
- /**
- * Iterates over the given [objects] and [write]s them in sequence.
- */
- void writeAll(Iterable objects);
-
- /**
- * Converts [obj] to a String by invoking [:toString:] and adds the result to
- * this [StringSink]. Then adds a new line.
- */
- void writeln(Object obj);
-
- /**
- * Writes the [charCode] to this [StringSink].
- *
- * This method is equivalent to [:write(new String.fromCharCode(charCode)):].
- */
- void writeCharCode(int charCode);
-}
« no previous file with comments | « sdk/lib/core/string_buffer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698