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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /*this is a test class */ 1 /*this is a test class */
2 class Version { 2 class Version {
3 int /**/major; /**/ int minor; 3 int /**/major; /**/ int minor;
4 int service; String qualifier; 4 int service; String qualifier;
5 5
6 Version.full(int this.major, int this.minor, int this.service, String this.qua lifier); 6 Version.full(int this.major, int this.minor, int this.service, String this.qua lifier);
7 Version.part(major, minor, service):this.full(major, minor, service, null); 7 Version.part(major, minor, service):this.full(major, minor, service, null);
8 8
9 String toString() { 9 String toString() {
10 StringBuffer sb = new StringBuffer(); 10 StringBuffer sb = new StringBuffer();
11 sb.add(this.major).add('.').add(this.minor).add('.'). 11 sb..write(this.major)..write('.')
12 add(service).add('.').add(this.qualifier); 12 ..write(this.minor)..write('.')
13 ..add(service)..write('.').write(this.qualifier);
13 return sb.toString(); 14 return sb.toString();
14 } 15 }
15 } 16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698