Commit aac80e0b authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

Closes gh-9570
parent beb72ca8
......@@ -234,7 +234,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
"Missing tokenInfoUri and userInfoUri and there is no "
+ "JWT verifier key");
}
if (StringUtils.hasText(this.tokenInfoUri) && this.isPreferTokenInfo()) {
if (StringUtils.hasText(this.tokenInfoUri) && isPreferTokenInfo()) {
if (!StringUtils.hasText(this.clientSecret)) {
errors.rejectValue("clientSecret", "missing.clientSecret",
"Missing client secret");
......
......@@ -29,7 +29,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
public class SendGridProperties {
/**
* SendGrid api key. Alternative to username/password.
* SendGrid API key.
*/
private String apiKey;
......
......@@ -160,7 +160,7 @@ public class SpringApplicationRunner {
super("runner-" + (runnerCounter++));
this.compiledSources = compiledSources;
if (compiledSources.length != 0) {
setContextClassLoader(((Class<?>) compiledSources[0]).getClassLoader());
setContextClassLoader(compiledSources[0].getClassLoader());
}
setDaemon(true);
}
......
......@@ -139,7 +139,7 @@ content into your application; rather pick only the properties that you need.
spring.reactor.stacktrace-mode.enabled=false # Set whether Reactor should collect stacktrace information at runtime.
# SENDGRID ({sc-spring-boot-autoconfigure}/sendgrid/SendGridAutoConfiguration.{sc-ext}[SendGridAutoConfiguration])
spring.sendgrid.api-key= # SendGrid api key (alternative to username/password)
spring.sendgrid.api-key= # SendGrid API key.
spring.sendgrid.proxy.host= # SendGrid proxy host.
spring.sendgrid.proxy.port= # SendGrid proxy port.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment