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 a6002b1 commit c7ebb98
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 c7ebb98

Please sign in to comment.