diff --git a/fcli-ssc/src/main/java/com/fortify/cli/ssc/appversion_user/helper/SSCAppVersionAuthEntitiesUpdateBuilder.java b/fcli-ssc/src/main/java/com/fortify/cli/ssc/appversion_user/helper/SSCAppVersionAuthEntitiesUpdateBuilder.java index 59cbdf44fe..5c53acd98c 100644 --- a/fcli-ssc/src/main/java/com/fortify/cli/ssc/appversion_user/helper/SSCAppVersionAuthEntitiesUpdateBuilder.java +++ b/fcli-ssc/src/main/java/com/fortify/cli/ssc/appversion_user/helper/SSCAppVersionAuthEntitiesUpdateBuilder.java @@ -105,7 +105,9 @@ public final SSCAppVersionAuthEntitiesUpdateBuilder add(boolean allowMultipleMat public final SSCAppVersionAuthEntitiesUpdateBuilder remove(boolean allowMultipleMatches, String... authEntitySpecs) { this.allowMultipleMatchesForRemove |= allowMultipleMatches; - authEntitySpecsToRemove.addAll(Arrays.asList(authEntitySpecs)); + if ( authEntitySpecs!=null && authEntitySpecs.length>0 ) { + authEntitySpecsToRemove.addAll(Arrays.asList(authEntitySpecs)); + } return this; } }