@ -80,10 +80,10 @@ public class OAuth2AuthorizationRequest implements Serializable {
@@ -80,10 +80,10 @@ public class OAuth2AuthorizationRequest implements Serializable {
@ -93,9 +93,9 @@ public class OAuth2AuthorizationRequest implements Serializable {
@@ -93,9 +93,9 @@ public class OAuth2AuthorizationRequest implements Serializable {
@ -507,9 +507,8 @@ public class OAuth2AuthorizationRequest implements Serializable {
@@ -507,9 +507,8 @@ public class OAuth2AuthorizationRequest implements Serializable {
@ -222,6 +222,7 @@ public final class OAuth2AuthorizationResponse implements Serializable {
@@ -222,6 +222,7 @@ public final class OAuth2AuthorizationResponse implements Serializable {
authorizationResponse.code=this.code;
}
else{
Assert.notNull(this.errorCode,"errorCode cannot be null when code is not present");
Assert.hasText(this.errorCode,"errorCode cannot be empty when code is not present");
@ -146,18 +146,11 @@ public class OAuth2DeviceAuthorizationResponseHttpMessageConverter
@@ -146,18 +146,11 @@ public class OAuth2DeviceAuthorizationResponseHttpMessageConverter