Remove this keyword on member method invocations
See gh-21007
This commit is contained in:
committed by
Stephane Nicoll
parent
f0d4192df9
commit
29717423a3
@@ -145,7 +145,7 @@ public class Neo4jProperties implements ApplicationContextAware {
|
||||
if (this.username != null && this.password != null) {
|
||||
builder.credentials(this.username, this.password);
|
||||
}
|
||||
builder.autoIndex(this.getAutoIndex().getName());
|
||||
builder.autoIndex(getAutoIndex().getName());
|
||||
if (this.useNativeTypes) {
|
||||
builder.useNativeTypes();
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ public class ConditionEvaluationReportLoggingListener
|
||||
this.report = ConditionEvaluationReport.get(this.applicationContext.getBeanFactory());
|
||||
}
|
||||
if (!this.report.getConditionAndOutcomesBySource().isEmpty()) {
|
||||
if (this.getLogLevelForReport().equals(LogLevel.INFO)) {
|
||||
if (getLogLevelForReport().equals(LogLevel.INFO)) {
|
||||
if (this.logger.isInfoEnabled()) {
|
||||
this.logger.info(new ConditionEvaluationReportMessage(this.report));
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ public class OAuth2ClientProperties {
|
||||
|
||||
@PostConstruct
|
||||
public void validate() {
|
||||
this.getRegistration().values().forEach(this::validateRegistration);
|
||||
getRegistration().values().forEach(this::validateRegistration);
|
||||
}
|
||||
|
||||
private void validateRegistration(Registration registration) {
|
||||
|
||||
@@ -394,23 +394,23 @@ public class ServerProperties {
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.tomcat.threads.max")
|
||||
public int getMaxThreads() {
|
||||
return this.getThreads().getMax();
|
||||
return getThreads().getMax();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setMaxThreads(int maxThreads) {
|
||||
this.getThreads().setMax(maxThreads);
|
||||
getThreads().setMax(maxThreads);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.tomcat.threads.min-spare")
|
||||
public int getMinSpareThreads() {
|
||||
return this.getThreads().getMinSpare();
|
||||
return getThreads().getMinSpare();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setMinSpareThreads(int minSpareThreads) {
|
||||
this.getThreads().setMinSpare(minSpareThreads);
|
||||
getThreads().setMinSpare(minSpareThreads);
|
||||
}
|
||||
|
||||
public DataSize getMaxHttpFormPostSize() {
|
||||
@@ -1066,67 +1066,67 @@ public class ServerProperties {
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.acceptors")
|
||||
public Integer getAcceptors() {
|
||||
return this.getThreads().getAcceptors();
|
||||
return getThreads().getAcceptors();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setAcceptors(Integer acceptors) {
|
||||
this.getThreads().setAcceptors(acceptors);
|
||||
getThreads().setAcceptors(acceptors);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.selectors")
|
||||
public Integer getSelectors() {
|
||||
return this.getThreads().getSelectors();
|
||||
return getThreads().getSelectors();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSelectors(Integer selectors) {
|
||||
this.getThreads().setSelectors(selectors);
|
||||
getThreads().setSelectors(selectors);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.min")
|
||||
public Integer getMinThreads() {
|
||||
return this.getThreads().getMin();
|
||||
return getThreads().getMin();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setMinThreads(Integer minThreads) {
|
||||
this.getThreads().setMin(minThreads);
|
||||
getThreads().setMin(minThreads);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.max")
|
||||
public Integer getMaxThreads() {
|
||||
return this.getThreads().getMax();
|
||||
return getThreads().getMax();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setMaxThreads(Integer maxThreads) {
|
||||
this.getThreads().setMax(maxThreads);
|
||||
getThreads().setMax(maxThreads);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.max-queue-capacity")
|
||||
public Integer getMaxQueueCapacity() {
|
||||
return this.getThreads().getMaxQueueCapacity();
|
||||
return getThreads().getMaxQueueCapacity();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setMaxQueueCapacity(Integer maxQueueCapacity) {
|
||||
this.getThreads().setMaxQueueCapacity(maxQueueCapacity);
|
||||
getThreads().setMaxQueueCapacity(maxQueueCapacity);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.jetty.threads.idle-timeout")
|
||||
public Duration getThreadIdleTimeout() {
|
||||
return this.getThreads().getIdleTimeout();
|
||||
return getThreads().getIdleTimeout();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setThreadIdleTimeout(Duration threadIdleTimeout) {
|
||||
this.getThreads().setIdleTimeout(threadIdleTimeout);
|
||||
getThreads().setIdleTimeout(threadIdleTimeout);
|
||||
}
|
||||
|
||||
public Duration getConnectionIdleTimeout() {
|
||||
@@ -1482,23 +1482,23 @@ public class ServerProperties {
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.undertow.threads.io")
|
||||
public Integer getIoThreads() {
|
||||
return this.getThreads().getIo();
|
||||
return getThreads().getIo();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setIoThreads(Integer ioThreads) {
|
||||
this.getThreads().setIo(ioThreads);
|
||||
getThreads().setIo(ioThreads);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "server.undertow.threads.worker")
|
||||
public Integer getWorkerThreads() {
|
||||
return this.getThreads().getWorker();
|
||||
return getThreads().getWorker();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setWorkerThreads(Integer workerThreads) {
|
||||
this.getThreads().setWorker(workerThreads);
|
||||
getThreads().setWorker(workerThreads);
|
||||
}
|
||||
|
||||
public Boolean getDirectBuffers() {
|
||||
|
||||
@@ -78,7 +78,7 @@ public abstract class AbstractErrorController implements ErrorController {
|
||||
*/
|
||||
@Deprecated
|
||||
protected Map<String, Object> getErrorAttributes(HttpServletRequest request, boolean includeStackTrace) {
|
||||
return this.getErrorAttributes(request, includeStackTrace, false);
|
||||
return getErrorAttributes(request, includeStackTrace, false);
|
||||
}
|
||||
|
||||
protected Map<String, Object> getErrorAttributes(HttpServletRequest request, boolean includeStackTrace,
|
||||
|
||||
@@ -79,7 +79,7 @@ class SendGridAutoConfigurationTests {
|
||||
}
|
||||
|
||||
private void loadContext(String... environment) {
|
||||
this.loadContext(null, environment);
|
||||
loadContext(null, environment);
|
||||
}
|
||||
|
||||
private void loadContext(Class<?> additionalConfiguration, String... environment) {
|
||||
|
||||
Reference in New Issue
Block a user