Update components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/AbstractApplicationAuthenticator.java
@@ -269,7 +269,7 @@ public abstract class AbstractApplicationAuthenticator implements ApplicationAut
Map<String, String> runtimeParams = context.getAuthenticatorParams(getName());
Map<String, String> commonParams = context
.getAuthenticatorParams(FrameworkConstants.JSAttributes.JS_COMMON_OPTIONS);
- if ((commonParams != null) && !(commonParams.isEmpty())) {
+ if (MapUtils.isNotEmpty(commonParams)) {
if (runtimeParams != null) {
commonParams.putAll(runtimeParams);
}
