diff options
author | Matt <mmartell@15J8NM1.mi.corp.rockfin.com> | 2015-10-20 09:50:54 -0400 |
---|---|---|
committer | Matt <mmartell@15J8NM1.mi.corp.rockfin.com> | 2015-10-20 09:50:54 -0400 |
commit | 8e1c0b305729f04ef25eb422e73625688db3a0d7 (patch) | |
tree | aa8506244f5def59b2aa767e707d720173b7c806 /src | |
parent | b422116a7ef6f03884604620a71671645fe66b30 (diff) | |
download | coreclr-8e1c0b305729f04ef25eb422e73625688db3a0d7.tar.gz coreclr-8e1c0b305729f04ef25eb422e73625688db3a0d7.tar.bz2 coreclr-8e1c0b305729f04ef25eb422e73625688db3a0d7.zip |
Correct comments on Array sorting methods
Changed "recrusively" to "recursively" and "subtrack" to "subtract".
https://github.com/dotnet/coreclr/issues/1801
Diffstat (limited to 'src')
-rw-r--r-- | src/mscorlib/src/System/Array.cs | 4 | ||||
-rw-r--r-- | src/mscorlib/src/System/Collections/Generic/ArraySortHelper.cs | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mscorlib/src/System/Array.cs b/src/mscorlib/src/System/Array.cs index 30b06540c1..9ace3f2f60 100644 --- a/src/mscorlib/src/System/Array.cs +++ b/src/mscorlib/src/System/Array.cs @@ -2047,7 +2047,7 @@ namespace System { } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; @@ -2364,7 +2364,7 @@ namespace System { } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; diff --git a/src/mscorlib/src/System/Collections/Generic/ArraySortHelper.cs b/src/mscorlib/src/System/Collections/Generic/ArraySortHelper.cs index d1d448c4ed..94c0652b59 100644 --- a/src/mscorlib/src/System/Collections/Generic/ArraySortHelper.cs +++ b/src/mscorlib/src/System/Collections/Generic/ArraySortHelper.cs @@ -270,7 +270,7 @@ namespace System.Collections.Generic } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; @@ -671,7 +671,7 @@ namespace System.Collections.Generic } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; @@ -1025,7 +1025,7 @@ namespace System.Collections.Generic } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; @@ -1382,7 +1382,7 @@ namespace System.Collections.Generic } while (i <= j); // The next iteration of the while loop is to "recursively" sort the larger half of the array and the - // following calls recrusively sort the smaller half. So we subtrack one from depthLimit here so + // following calls recursively sort the smaller half. So we subtract one from depthLimit here so // both sorts see the new value. depthLimit--; |