Polishing

This commit is contained in:
Sam Brannen
2019-09-13 12:55:59 +02:00
parent 7b4b64b8fb
commit 957f0fac7a
4 changed files with 26 additions and 14 deletions

View File

@@ -100,7 +100,7 @@ public class AnnotationAwareOrderComparator extends OrderComparator {
/**
* Sort the given List with a default AnnotationAwareOrderComparator.
* Sort the given list with a default {@link AnnotationAwareOrderComparator}.
* <p>Optimized to skip sorting for lists with size 0 or 1,
* in order to avoid unnecessary array extraction.
* @param list the List to sort