Skip to content

Commit

Permalink
Fix case typos (oops)
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Drenski <[email protected]>
  • Loading branch information
austindrenski authored Feb 8, 2024
1 parent 3fb5a44 commit 82060c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OpenFeature/Model/EvaluationContextBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@ public EvaluationContextBuilder Merge(EvaluationContext context)
{
string newTargetingKey = "";

if (!string.IsNullOrWhitespace(TargetingKey))
if (!string.IsNullOrWhiteSpace(TargetingKey))
{
newTargetingKey = TargetingKey;
}

if (!string.IsNullOrWhitespace(context.TargetingKey))
if (!string.IsNullOrWhiteSpace(context.TargetingKey))
{
newTargetingKey = context.TargetingKey;
}

if (!string.IsNullOrWhitespace(newTargetingKey))
if (!string.IsNullOrWhiteSpace(newTargetingKey))
{
this.TargetingKey = newTargetingKey;
}
Expand Down

0 comments on commit 82060c3

Please sign in to comment.