(tomcat) branch 9.0.x updated: Fix IDE warning
[email protected] Mon, 20 Jul 2026 08:57:07 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178453782700.3846619.4725070559235102396@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new c2162120ec Fix IDE warning
c2162120ec is described below
commit c2162120eccc01fae6fd0ac681c7f6375db0c828
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jul 20 09:55:44 2026 +0100
Fix IDE warning
---
java/org/apache/catalina/util/ResourceSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/util/ResourceSet.java b/java/org/apache/catalina/util/ResourceSet.java
index ce96e44a0a..a144c8873a 100644
--- a/java/org/apache/catalina/util/ResourceSet.java
+++ b/java/org/apache/catalina/util/ResourceSet.java
@@ -224,7 +224,7 @@ public final class ResourceSet<T> extends HashSet<T> {
public java.util.Spliterator<T> spliterator() {
if (locked) {
java.util.Spliterator<T> base = super.spliterator();
- return new java.util.Spliterator<T>() {
+ return new java.util.Spliterator<>() {
@Override public boolean tryAdvance(java.util.function.Consumer<? super T> action) { return base.tryAdvance(action); }
@Override public java.util.Spliterator<T> trySplit() { return null; }
@Override public long estimateSize() { return base.estimateSize(); }