hidingmyname opened a new issue, #16827:
URL: https://github.com/apache/lucene/issues/16827
### Description
**Current text**
```
Create a new ArrayInPlaceMergeSorter.
```
**Problem**: Copy-paste error from ArrayInPlaceMergeSorter.
**Suggested fix**: Create a new ArrayIntroSorter.
```diff
--- a/lucene/core/src/java/org/apache/lucene/util/ArrayIntroSorter.java
+++ b/lucene/core/src/java/org/apache/lucene/util/ArrayIntroSorter.java
@@ -30,5 +30,5 @@
private T pivot;
- /** Create a new {@link ArrayInPlaceMergeSorter}. */
+ /** Create a new {@link ArrayIntroSorter}. */
public ArrayIntroSorter(T[] arr, Comparator<? super T> comparator) {
this.arr = arr;
```
**Already fixed in Lucene.NET**: apache/lucenenet@d7cb70c46
**How Lucene.NET fixed it**: commit `d7cb70c465b` (2017-06-04)
"Lucene.Net.Util: Fixed up documentation comments, types beginning with A-G",
file `src/Lucene.Net/Util/ArrayIntroSorter.cs`
```diff
@@ -30,7 +31,7 @@ internal sealed class ArrayIntroSorter<T> : IntroSorter
private T pivot;
/// <summary>
- /// Create a new <seealso cref="ArrayInPlaceMergeSorter"/>.
</summary>
+ /// Create a new <see cref="ArrayIntroSorter{T}"/>. </summary>
public ArrayIntroSorter(T[] arr, IComparer<T> comparer)
{
this.arr = arr;
```
I can submit a PR for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]