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

Unified Diff: pkg/analyzer/lib/src/generated/utilities_collection.dart

Issue 189803004: Translate private Java members to private Dart members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks Created 6 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/source_io.dart ('k') | pkg/analyzer/lib/src/generated/utilities_dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/utilities_collection.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_collection.dart b/pkg/analyzer/lib/src/generated/utilities_collection.dart
index 6a74d97ce78a9278df248c2499b3d6e1462c2486..ef713f706a3924a3658c5162c958957b93dbca9d 100644
--- a/pkg/analyzer/lib/src/generated/utilities_collection.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_collection.dart
@@ -24,7 +24,7 @@ class BooleanArray {
* @throws IndexOutOfBoundsException if the index is not between zero (0) and 31, inclusive
*/
static bool get(int array, int index) {
- checkIndex(index);
+ _checkIndex(index);
return (array & (1 << index)) > 0;
}
@@ -48,7 +48,7 @@ class BooleanArray {
* @throws IndexOutOfBoundsException if the index is not between zero (0) and 31, inclusive
*/
static int set(int array, int index, bool value) {
- checkIndex(index);
+ _checkIndex(index);
if (value) {
return array | (1 << index);
} else {
@@ -73,7 +73,7 @@ class BooleanArray {
*
* @throws IndexOutOfBoundsException if the index is not between zero (0) and 31, inclusive
*/
- static void checkIndex(int index) {
+ static void _checkIndex(int index) {
if (index < 0 || index > 30) {
throw new RangeError("Index not between 0 and 30: ${index}");
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/source_io.dart ('k') | pkg/analyzer/lib/src/generated/utilities_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698