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

Unified Diff: sdk/lib/_collection_dev/sort.dart

Issue 23619086: Adapt private variables with trailing underscores. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undo removal of ImmutableMap class. Created 7 years, 3 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 | « runtime/lib/immutable_map.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_collection_dev/sort.dart
diff --git a/sdk/lib/_collection_dev/sort.dart b/sdk/lib/_collection_dev/sort.dart
index 73276b231ce84ec1c1bf9455274683a49eca1b5e..9bc7c9abfad3b3895135aa9e12fbbe9511e7d6c0 100644
--- a/sdk/lib/_collection_dev/sort.dart
+++ b/sdk/lib/_collection_dev/sort.dart
@@ -54,13 +54,13 @@ class Sort {
*/
static void _doSort(List a, int left, int right, int compare(a, b)) {
if ((right - left) <= _INSERTION_SORT_THRESHOLD) {
- insertionSort_(a, left, right, compare);
+ _insertionSort(a, left, right, compare);
} else {
_dualPivotQuicksort(a, left, right, compare);
}
}
- static void insertionSort_(List a, int left, int right, int compare(a, b)) {
+ static void _insertionSort(List a, int left, int right, int compare(a, b)) {
for (int i = left + 1; i <= right; i++) {
var el = a[i];
int j = i;
« no previous file with comments | « runtime/lib/immutable_map.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698