Polish
See gh-27940
This commit is contained in:
committed by
Stephane Nicoll
parent
b8b2e56fab
commit
cf0fcafd13
@@ -502,7 +502,7 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
AnnotatedMethod setter = findSetter(beanDesc, writer);
|
||||
// If there's a setter, we assume it's OK to report on the value,
|
||||
// similarly, if there's no setter but the package names match, we assume
|
||||
// that its a nested class used solely for binding to config props, so it
|
||||
// that it is a nested class used solely for binding to config props, so it
|
||||
// should be kosher. Lists and Maps are also auto-detected by default since
|
||||
// that's what the metadata generator does. This filter is not used if there
|
||||
// is JSON metadata for the property, so it's mainly for user-defined beans.
|
||||
|
||||
@@ -27,7 +27,7 @@ package org.springframework.boot.actuate.endpoint;
|
||||
public interface SanitizingFunction {
|
||||
|
||||
/**
|
||||
* Apply the sanitiing function to the given data.
|
||||
* Apply the sanitizing function to the given data.
|
||||
* @param data the data to sanitize
|
||||
* @return the sanitized data or the original instance is no sanitization is applied
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -34,7 +34,7 @@ public interface OperationInvokerAdvisor {
|
||||
* @param operationType the operation type
|
||||
* @param parameters the operation parameters
|
||||
* @param invoker the invoker to advise
|
||||
* @return an potentially new operation invoker with support for additional features
|
||||
* @return a potentially new operation invoker with support for additional features
|
||||
*/
|
||||
OperationInvoker apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters,
|
||||
OperationInvoker invoker);
|
||||
|
||||
@@ -194,7 +194,7 @@ public class EnvironmentEndpoint {
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply sanitiation to the given name and value.
|
||||
* Apply sanitization to the given name and value.
|
||||
* @param key the name to sanitize
|
||||
* @param value the value to sanitize
|
||||
* @return the sanitized value
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -19,7 +19,7 @@ package org.springframework.boot.actuate.health;
|
||||
import com.fasterxml.jackson.annotation.JsonUnwrapped;
|
||||
|
||||
/**
|
||||
* An component that contributes data to results returned from the {@link HealthEndpoint}.
|
||||
* A component that contributes data to results returned from the {@link HealthEndpoint}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 2.2.0
|
||||
|
||||
Reference in New Issue
Block a user