Polish: remove unused private fields, remove empty operator
This commit is contained in:
committed by
Juergen Hoeller
parent
1908080d5c
commit
45e520ed86
@@ -194,8 +194,6 @@ class DefaultPathContainer implements PathContainer {
|
||||
|
||||
private final String value;
|
||||
|
||||
private final char[] valueAsChars;
|
||||
|
||||
private final String valueToMatch;
|
||||
|
||||
private final char[] valueToMatchAsChars;
|
||||
@@ -206,7 +204,6 @@ class DefaultPathContainer implements PathContainer {
|
||||
DefaultPathSegment(String value, String valueToMatch, MultiValueMap<String, String> params) {
|
||||
Assert.isTrue(!value.contains("/"), () -> "Invalid path segment value: " + value);
|
||||
this.value = value;
|
||||
this.valueAsChars = value.toCharArray();
|
||||
this.valueToMatch = valueToMatch;
|
||||
this.valueToMatchAsChars = valueToMatch.toCharArray();
|
||||
this.parameters = CollectionUtils.unmodifiableMultiValueMap(params);
|
||||
|
||||
@@ -254,7 +254,7 @@ public class ServletHttpHandlerAdapter implements Servlet {
|
||||
public void onComplete(AsyncEvent event) {
|
||||
// no-op
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
private class HandlerResultSubscriber implements Subscriber<Void> {
|
||||
|
||||
@@ -40,7 +40,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*/
|
||||
public class DefaultUriBuilderFactory implements UriBuilderFactory {
|
||||
|
||||
public enum EncodingMode {URI_COMPONENT, VALUES_ONLY, NONE };
|
||||
public enum EncodingMode {URI_COMPONENT, VALUES_ONLY, NONE }
|
||||
|
||||
|
||||
private final UriComponentsBuilder baseUri;
|
||||
|
||||
Reference in New Issue
Block a user