mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix ROOT_PATH constant to match recent changes
"/" should be 0 segments, isAbsolute=true, hasTrailingSlash=false
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ class DefaultPathSegmentContainer implements PathSegmentContainer {
|
||||
new DefaultPathSegmentContainer("", Collections.emptyList());
|
||||
|
||||
private static final PathSegmentContainer ROOT_PATH =
|
||||
new DefaultPathSegmentContainer("/", Collections.singletonList(EMPTY_PATH_SEGMENT));
|
||||
new DefaultPathSegmentContainer("/", Collections.emptyList());
|
||||
|
||||
|
||||
private final String path;
|
||||
|
||||
Reference in New Issue
Block a user