Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,7 @@ public static boolean isRegulatoryApp(String clientId) throws FinancialServicesE
identityCache.addToCache(identityCacheKey, regulatoryProperty);
return Boolean.parseBoolean(regulatoryProperty.toString());
} else {
if (log.isDebugEnabled()) {
log.debug("Regulatory property not found in service provider metadata for clientId: "
+ clientId + ". Hence treating it as a non-regulatory application.");
}
log.debug("Regulatory property missing. Treating as non-regulatory application.");
Comment on lines 380 to +381
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log Improvement Suggestion No: 1

Suggested change
} else {
if (log.isDebugEnabled()) {
log.debug("Regulatory property not found in service provider metadata for clientId: "
+ clientId + ". Hence treating it as a non-regulatory application.");
}
log.debug("Regulatory property missing. Treating as non-regulatory application.");
} else {
if (log.isDebugEnabled()) {
log.debug("Regulatory property not found in service provider metadata for clientId: " + clientId + ". Treating as non-regulatory application.");
}

return false;
}
} else {
Expand Down
Loading