diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Credential.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Credential.java index e168988..c19f703 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Credential.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/Credential.java @@ -64,8 +64,7 @@ public class Credential extends GeneratedObject { } public ProofType getProofType() { - if(jwt == null) return ProofType.EMBEDDED; - return ProofType.EXTERNAL; + return jwt == null ? ProofType.EMBEDDED : ProofType.EXTERNAL; }