diff --git a/common4j/src/main/com/microsoft/identity/common/java/commands/parameters/InteractiveTokenCommandParameters.java b/common4j/src/main/com/microsoft/identity/common/java/commands/parameters/InteractiveTokenCommandParameters.java index 8e5295459b..edb30c5da0 100644 --- a/common4j/src/main/com/microsoft/identity/common/java/commands/parameters/InteractiveTokenCommandParameters.java +++ b/common4j/src/main/com/microsoft/identity/common/java/commands/parameters/InteractiveTokenCommandParameters.java @@ -29,6 +29,7 @@ import com.microsoft.identity.common.java.ui.PreferredAuthMethod; import java.util.ArrayList; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -95,6 +96,6 @@ public List getExtraScopesToConsent() { } public List getBrowserSafeList() { - return this.browserSafeList == null ? null : new ArrayList<>(this.browserSafeList); + return this.browserSafeList == null ? Collections.emptyList() : new ArrayList<>(this.browserSafeList); } }