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 { ...@@ -234,7 +234,7 @@ public class ResourceServerProperties implements BeanFactoryAware {
"Missing tokenInfoUri and userInfoUri and there is no " "Missing tokenInfoUri and userInfoUri and there is no "
+ "JWT verifier key"); + "JWT verifier key");
} }
if (StringUtils.hasText(this.tokenInfoUri) && this.isPreferTokenInfo()) { if (StringUtils.hasText(this.tokenInfoUri) && isPreferTokenInfo()) {
if (!StringUtils.hasText(this.clientSecret)) { if (!StringUtils.hasText(this.clientSecret)) {
errors.rejectValue("clientSecret", "missing.clientSecret", errors.rejectValue("clientSecret", "missing.clientSecret",
"Missing client secret"); "Missing client secret");
......
...@@ -29,7 +29,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -29,7 +29,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
public class SendGridProperties { public class SendGridProperties {
/** /**
* SendGrid api key. Alternative to username/password. * SendGrid API key.
*/ */
private String apiKey; private String apiKey;
......
...@@ -160,7 +160,7 @@ public class SpringApplicationRunner { ...@@ -160,7 +160,7 @@ public class SpringApplicationRunner {
super("runner-" + (runnerCounter++)); super("runner-" + (runnerCounter++));
this.compiledSources = compiledSources; this.compiledSources = compiledSources;
if (compiledSources.length != 0) { if (compiledSources.length != 0) {
setContextClassLoader(((Class<?>) compiledSources[0]).getClassLoader()); setContextClassLoader(compiledSources[0].getClassLoader());
} }
setDaemon(true); setDaemon(true);
} }
......
...@@ -139,7 +139,7 @@ content into your application; rather pick only the properties that you need. ...@@ -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. 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]) # 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.host= # SendGrid proxy host.
spring.sendgrid.proxy.port= # SendGrid proxy port. 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