mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
UriComponentBuilder allows for multiple independent build() calls on same builder instance
Issue: SPR-11885
This commit is contained in:
+1
-1
@@ -664,7 +664,7 @@ final class HierarchicalUriComponents extends UriComponents {
|
||||
private final List<String> pathSegments;
|
||||
|
||||
public PathSegmentComponent(List<String> pathSegments) {
|
||||
this.pathSegments = Collections.unmodifiableList(pathSegments);
|
||||
this.pathSegments = Collections.unmodifiableList(new ArrayList<String>(pathSegments));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user