-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spring Cleanup] Remove Spring dependencies in the CORS management API #693
[Spring Cleanup] Remove Spring dependencies in the CORS management API #693
Conversation
@@ -103,6 +98,11 @@ | |||
<groupId>commons-beanutils</groupId> | |||
<artifactId>commons-beanutils</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.wso2.carbon.identity.server.api</groupId> | |||
<artifactId>org.wso2.carbon.identity.api.server.cors.common</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this dependency is already available
|
||
static { | ||
CORSManagementService corsManagementService = CORSServiceHolder.getCorsManagementService(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove extra line
if (corsManagementService == null) { | ||
throw new IllegalStateException("CORSManagementService is not available from OSGi context."); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line
Comments will be addressed with #756 |
Purpose
Related Issue(s)