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

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

Issue 12262030: Stop using deprecated charCodeAt in Intl (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/number_format.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/bidi_utils.dart
diff --git a/pkg/intl/lib/bidi_utils.dart b/pkg/intl/lib/bidi_utils.dart
index b6bb0070df5d6028eea27ca62f58eda5e99b40e7..35d62b729fd78ea9575ce3c3a6875b8b513a9370 100644
--- a/pkg/intl/lib/bidi_utils.dart
+++ b/pkg/intl/lib/bidi_utils.dart
@@ -353,22 +353,6 @@ class Bidi {
}
/**
- * Find the first index in [str] of the first closing parenthesis that does
- * not match an opening parenthesis.
- */
- static int _unmatchedParenIndex(String str) {
- int sum = 0;
- int index = 0;
- while (sum >= 0 || index > str.length) {
- int char = str.charCodeAt(index);
- if (char == '('.charCodeAt(0)) sum++;
- else if (char == ')'.charCodeAt(0)) sum--;
- index++;
- }
- return index;
- }
-
- /**
* Replace the double and single quote directly after a Hebrew character in
* [str] with GERESH and GERSHAYIM. This is most likely the user's intention.
*/
« no previous file with comments | « no previous file | pkg/intl/lib/number_format.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698