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. |
*/ |