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

Unified Diff: pkg/intl/lib/bidi_formatter.dart

Issue 12441003: Rename String.concat to operator+. (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 | « no previous file | pkg/intl/lib/src/date_format_field.dart » ('j') | sdk/lib/core/string.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/bidi_formatter.dart
diff --git a/pkg/intl/lib/bidi_formatter.dart b/pkg/intl/lib/bidi_formatter.dart
index ae7b908e902af23d1106a66d441a2f11dd71eb7f..a9655f9497deeead6c9d5435f0e67db6e49a1d23 100644
--- a/pkg/intl/lib/bidi_formatter.dart
+++ b/pkg/intl/lib/bidi_formatter.dart
@@ -130,7 +130,7 @@ class BidiFormatter {
} else {
result = text;
}
- return result.concat(resetDir? _resetDir(text, direction, isHtml) : '');
+ return result + (resetDir? _resetDir(text, direction, isHtml) : '');
}
/**
@@ -161,7 +161,7 @@ class BidiFormatter {
result = "${marker}$text${Bidi.PDF}";
}
- return result.concat(resetDir? _resetDir(text, direction, isHtml) : '');
+ return result + (resetDir? _resetDir(text, direction, isHtml) : '');
}
/**
« no previous file with comments | « no previous file | pkg/intl/lib/src/date_format_field.dart » ('j') | sdk/lib/core/string.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698