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

Unified Diff: sdk/lib/io/bytes_builder.dart

Issue 1908943004: Fix void foo(..) => ... to use { } instead. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Upload Created 4 years, 8 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/convert/string_conversion.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/bytes_builder.dart
diff --git a/sdk/lib/io/bytes_builder.dart b/sdk/lib/io/bytes_builder.dart
index 610c50a74638e5c8d1ab3844f8522c16814ae9a3..2882402b641bc1171d41adb0d5d04a5587ddbb2c 100644
--- a/sdk/lib/io/bytes_builder.dart
+++ b/sdk/lib/io/bytes_builder.dart
@@ -113,7 +113,7 @@ class _CopyingBytesBuilder implements BytesBuilder {
_length = required;
}
- void addByte(int byte) => add([byte]);
+ void addByte(int byte) { add([byte]); }
List<int> takeBytes() {
if (_buffer == null) return new Uint8List(0);
@@ -163,7 +163,7 @@ class _BytesBuilder implements BytesBuilder {
_length += bytes.length;
}
- void addByte(int byte) => add([byte]);
+ void addByte(int byte) { add([byte]); }
List<int> takeBytes() {
if (_chunks.length == 0) return new Uint8List(0);
« no previous file with comments | « sdk/lib/convert/string_conversion.dart ('k') | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698