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 046f09ff0c Restore type as it is required when targetting Java 8
046f09ff0c is described below
commit 046f09ff0c9167049703cc270c1ef9de75f83d7a
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jul 20 15:01:05 2026 +0100
Restore type as it is required when targetting Java 8
---
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 a144c8873a..ce96e44a0a 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<>() {
+ return new java.util.Spliterator<T>() {
@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(); }
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]