Skip to content

Commit

Permalink
fixup: remove commented code
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert committed Jul 26, 2024
1 parent c923432 commit 90e9633
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/OpenFeature/Model/EvaluationContextBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,6 @@ public EvaluationContextBuilder Set(string key, DateTime value)
/// <returns>This builder</returns>
public EvaluationContextBuilder Merge(EvaluationContext context)
{
// string? newTargetingKey = "";

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

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

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

foreach (var kvp in context)
{
this.Set(kvp.Key, kvp.Value);
Expand Down

0 comments on commit 90e9633

Please sign in to comment.