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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.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_out.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.dart
index f8b4a1ce173918b23c858fd40e5970ff48205224..67bee7efb83bec11401d86bcd92d6eecd2f8fd06 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/formatter/testsource/test007$A_out.dart
@@ -12,10 +12,10 @@ class Version {
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('.').
+ ..write(service)..write('.').
+ ..write(this.qualifier);
return sb.toString();
}
}

Powered by Google App Engine
This is Rietveld 408576698