From 63c43758e27d6306b536f755863596078f4d7eb2 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 14 Dec 2023 12:20:32 -0600 Subject: [PATCH] Using empty Index instead of null --- .../main/java/org/eclipse/jetty/util/resource/PathResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/resource/PathResource.java b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/resource/PathResource.java index ed9ccd2e638b..55ac974611a1 100644 --- a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/resource/PathResource.java +++ b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/resource/PathResource.java @@ -44,7 +44,7 @@ public class PathResource extends Resource * @deprecated Using ResourceFactoryInternals.isSupported() instead. */ @Deprecated(since = "12.0.4", forRemoval = true) - public static Index SUPPORTED_SCHEMES = null; + public static Index SUPPORTED_SCHEMES = new Index.Builder().build(); // The path object represented by this instance private final Path path;