Skip to content

Commit

Permalink
Using empty Index instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
joakime committed Dec 14, 2023
1 parent 9d6cfb4 commit 63c4375
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class PathResource extends Resource
* @deprecated Using ResourceFactoryInternals.isSupported() instead.
*/
@Deprecated(since = "12.0.4", forRemoval = true)
public static Index<String> SUPPORTED_SCHEMES = null;
public static Index<String> SUPPORTED_SCHEMES = new Index.Builder<String>().build();

// The path object represented by this instance
private final Path path;
Expand Down

0 comments on commit 63c4375

Please sign in to comment.