Commit 6ccd858f authored by Dave Syer's avatar Dave Syer

Fix checkstyle violations

parent 77a1a3b3
......@@ -200,7 +200,7 @@ public class OAuth2RestOperationsConfiguration {
static class ClientCredentialsCondition extends AnyNestedCondition {
public ClientCredentialsCondition() {
ClientCredentialsCondition() {
super(ConfigurationPhase.PARSE_CONFIGURATION);
}
......@@ -215,7 +215,7 @@ public class OAuth2RestOperationsConfiguration {
static class NotClientCredentialsCondition extends NoneNestedConditions {
public NotClientCredentialsCondition() {
NotClientCredentialsCondition() {
super(ConfigurationPhase.PARSE_CONFIGURATION);
}
......
......@@ -196,7 +196,7 @@ public class OAuth2AutoConfigurationTests {
"security.oauth2.client.clientId=client",
"security.oauth2.client.grantType=client_credentials");
this.context.refresh();
assertThat(context.getBean(OAuth2ClientContext.class).getAccessTokenRequest())
assertThat(this.context.getBean(OAuth2ClientContext.class).getAccessTokenRequest())
.isNotNull();
assertThat(countBeans(ClientCredentialsResourceDetails.class)).isEqualTo(1);
assertThat(countBeans(OAuth2ClientContext.class)).isEqualTo(1);
......@@ -212,7 +212,7 @@ public class OAuth2AutoConfigurationTests {
"security.oauth2.client.grantType=client_credentials");
this.context.refresh();
// Thr primary context is fine (not session scoped):
assertThat(context.getBean(OAuth2ClientContext.class).getAccessTokenRequest())
assertThat(this.context.getBean(OAuth2ClientContext.class).getAccessTokenRequest())
.isNotNull();
assertThat(countBeans(ClientCredentialsResourceDetails.class)).isEqualTo(1);
/*
......
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