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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart
index c197c9ef5cdf08f37eddb45dd0e741f65caddf20..76ea4a1be5866a363248fcbc904f4bd6287989e4 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_in.dart
@@ -8,8 +8,9 @@
String toString() {
StringBuffer sb = new StringBuffer();
- sb.add(this.major).add('.').add(this.minor).add('.').
- add(service).add('.').add(this.qualifier);
+ sb..write(this.major)..write('.')
+ ..write(this.minor)..write('.')
+ ..add(service)..write('.').write(this.qualifier);
return sb.toString();
}
}

Powered by Google App Engine
This is Rietveld 408576698