You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/02/13 16:55:17 UTC
[commons-vfs] branch master updated: Inline Collections.sort(Comparator).
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 3963858 Inline Collections.sort(Comparator).
3963858 is described below
commit 3963858a059748ff29ed0632b54ee04cd32725b7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 13 11:55:14 2022 -0500
Inline Collections.sort(Comparator).
---
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
index db50aab..d6ce442 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
@@ -21,6 +21,7 @@ import java.net.URI;
import java.net.URL;
import java.nio.file.Path;
import java.nio.file.Paths;
+import java.util.Comparator;
import java.util.List;
import org.apache.commons.vfs2.operations.FileOperations;
@@ -86,7 +87,7 @@ import org.apache.commons.vfs2.operations.FileOperations;
*
* <p>
* Files may be sorted using {@link java.util.Arrays#sort(Object[]) Arrays.sort()} and
- * {@link java.util.Collections#sort(List) Collections.sort()}.
+ * {@link List#sort(Comparator) List.sort()}.
* </p>
*
* @see FileSystemManager