Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -702,7 +702,7 @@ final class HierarchicalUriComponents extends UriComponents {
|
||||
|
||||
@Override
|
||||
public List<String> getPathSegments() {
|
||||
String[] segments = StringUtils.tokenizeToStringArray(this.path, PATH_DELIMITER_STRING);
|
||||
String[] segments = StringUtils.tokenizeToStringArray(getPath(), PATH_DELIMITER_STRING);
|
||||
return Collections.unmodifiableList(Arrays.asList(segments));
|
||||
}
|
||||
|
||||
@@ -714,7 +714,7 @@ final class HierarchicalUriComponents extends UriComponents {
|
||||
|
||||
@Override
|
||||
public void verify() {
|
||||
verifyUriComponent(this.path, Type.PATH);
|
||||
verifyUriComponent(getPath(), Type.PATH);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user