Skip to content

Commit

Permalink
fix: fcli ssc appversion update: Fix exception if no --userdel opti…
Browse files Browse the repository at this point in the history
…on is specified (fixes #175)
  • Loading branch information
rsenden committed Dec 14, 2022
1 parent 3667208 commit 25d5efd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 25d5efd

Please sign in to comment.