-
Notifications
You must be signed in to change notification settings - Fork 95
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
refactor tokenissuer #1940
refactor tokenissuer #1940
Conversation
ffdf09c
to
d9f76dc
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1940 +/- ##
==========================================
- Coverage 26.53% 26.52% -0.02%
==========================================
Files 124 124
Lines 14516 14523 +7
Branches 2575 2575
==========================================
Hits 3852 3852
- Misses 10540 10547 +7
Partials 124 124
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
d9f76dc
to
e6fa4d8
Compare
// } | ||
// UpdateEnforcerJWTIssuers(jwtIssuerMapping) | ||
// return ctrl.Result{}, nil | ||
} |
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.
Let's remove commented code.
@@ -0,0 +1,27 @@ | |||
package org.wso2.apk.enforcer.subscription; |
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.
License header?
@@ -0,0 +1,27 @@ | |||
package org.wso2.apk.enforcer.subscription; |
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.
License header? Please check other locations.
e6fa4d8
to
201856a
Compare
201856a
to
66fcea4
Compare
if (tokenIssuerBuilder_ == null) { | ||
return tokenIssuer_ == null ? org.wso2.apk.enforcer.discovery.subscription.TokenIssuer.getDefaultInstance() : tokenIssuer_; | ||
} else { | ||
return tokenIssuerBuilder_.getMessage(); | ||
} |
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.
if (tokenIssuerBuilder_ == null) { | |
return tokenIssuer_ == null ? org.wso2.apk.enforcer.discovery.subscription.TokenIssuer.getDefaultInstance() : tokenIssuer_; | |
} else { | |
return tokenIssuerBuilder_.getMessage(); | |
} | |
if (tokenIssuerBuilder_ == null) { | |
return tokenIssuer_ == null ? org.wso2.apk.enforcer.discovery.subscription.TokenIssuer.getDefaultInstance() : tokenIssuer_; | |
} | |
return tokenIssuerBuilder_.getMessage(); |
refactor tokenissuer