mirror of https://github.com/apache/lucene.git
LUCENE-4839: Javadocs links, prevent synthetic accessor method access$0() for merge()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13c5526d07
commit
681f24ca8a
|
@ -313,8 +313,8 @@ public abstract class SorterTemplate {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Sorts using TimSort, see http://svn.python.org/projects/python/trunk/Objects/listsort.txt
|
/** Sorts using <a href="http://svn.python.org/projects/python/trunk/Objects/listsort.txt">TimSort</a>, see
|
||||||
* and http://svn.python.org/projects/python/trunk/Objects/listobject.c.
|
* also <a href="http://svn.python.org/projects/python/trunk/Objects/listobject.c">source code</a>.
|
||||||
* TimSort is a stable sorting algorithm based on MergeSort but known to
|
* TimSort is a stable sorting algorithm based on MergeSort but known to
|
||||||
* perform extremely well on partially-sorted inputs.
|
* perform extremely well on partially-sorted inputs.
|
||||||
* For small collections, falls back to {@link #binarySort(int, int)}. */
|
* For small collections, falls back to {@link #binarySort(int, int)}. */
|
||||||
|
@ -343,7 +343,8 @@ public abstract class SorterTemplate {
|
||||||
merge(lo, mid, hi, mid - lo, hi - mid);
|
merge(lo, mid, hi, mid - lo, hi - mid);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void merge(int lo, int pivot, int hi, int len1, int len2) {
|
// pkg-protected for access from TimSort class
|
||||||
|
void merge(int lo, int pivot, int hi, int len1, int len2) {
|
||||||
if (len1 == 0 || len2 == 0) {
|
if (len1 == 0 || len2 == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue