Skip to content

Commit 6794f72

Browse files
committed
Update comment
1 parent 75de84b commit 6794f72

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/org/infinity/resource/key/ResourceTreeFolder.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,12 @@ public synchronized boolean retainAll(Collection<?> c) {
213213
}
214214

215215
/**
216-
* Fixes build on JDK 21+, where both List and SortedSet have a default reversed() method that clashes
216+
* @apiNote Stub method required to meet JDK 21 requirements which introduces their own {@code reversed()} method
217+
* to the {@link SortedSet} and {@link List} interfaces.
218+
*
219+
* TODO: Remove when upgrading source compatibility to JDK 21+
217220
*/
221+
@SuppressWarnings("unused")
218222
public SortedListSet<T> reversed() {
219223
throw new UnsupportedOperationException();
220224
}

0 commit comments

Comments
 (0)