-
Notifications
You must be signed in to change notification settings - Fork 18
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
SDK-2230: Expose share v2 API #413
Conversation
irotech
commented
Jul 25, 2023
•
edited
Loading
edited
- Add support to Share V2
yoti-sdk-api/src/main/java/com/yoti/api/client/spi/remote/call/identity/ReceiptItemKey.java
Fixed
Show resolved
Hide resolved
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.
only nits/questions
yoti-sdk-api/src/main/java/com/yoti/api/client/identity/policy/Policy.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/identity/policy/Policy.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/yoti/api/client/identity/extension/ThirdPartyAttributeExtensionBuilder.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/DigitalIdentityClient.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/DigitalIdentityClient.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/identity/policy/Policy.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/identity/policy/Policy.java
Outdated
Show resolved
Hide resolved
yoti-sdk-api/src/main/java/com/yoti/api/client/identity/policy/Policy.java
Outdated
Show resolved
Hide resolved
return this; | ||
} | ||
|
||
if (constraintsNotPresent(wanted.getConstraints())) { |
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.
hasNoConstraints
(it's preferable, if feasible, for boolean returning methods to use is
or has
type prefixes).
Also AFAICT this method is checking whether there's constraints in wantedAttributes
that are not equal to those in wanted
right? (true
if there aren't, false
if there are)
So maybe this method would be clearer if it was something like:
if (hasIdenticalConstraints(wantedAttributes, wanted))
(turning it into a static method)
SonarCloud Quality Gate failed. 0 Bugs 43.1% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |