Skip to content

Commit

Permalink
Merge pull request #69 from merijndejonge/fix-typo
Browse files Browse the repository at this point in the history
Rename CreareDomainDataStructure to CreateDomainDataStructure
  • Loading branch information
tinohager authored Mar 1, 2024
2 parents 3436961 + ef0ba3e commit 1902929
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Nager.PublicSuffix/RuleProviders/BaseRuleProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public abstract Task<bool> BuildAsync(
/// Create a DomainDataStructure
/// </summary>
/// <param name="rules"></param>
protected void CreareDomainDataStructure(IEnumerable<TldRule> rules)
protected void CreateDomainDataStructure(IEnumerable<TldRule> rules)
{
var domainDataStructure = new DomainDataStructure("*", new TldRule("*"));
domainDataStructure.AddRules(rules);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public override async Task<bool> BuildAsync(
var ruleParser = new TldRuleParser();
var rules = ruleParser.ParseRules(ruleData);

base.CreareDomainDataStructure(rules);
base.CreateDomainDataStructure(rules);

return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public override async Task<bool> BuildAsync(
var domainDataStructure = new DomainDataStructure("*", new TldRule("*"));
domainDataStructure.AddRules(rules);

base.CreareDomainDataStructure(rules);
base.CreateDomainDataStructure(rules);

return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public override async Task<bool> BuildAsync(
var ruleParser = new TldRuleParser();
var rules = ruleParser.ParseRules(ruleData);

base.CreareDomainDataStructure(rules);
base.CreateDomainDataStructure(rules);

return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Nager.PublicSuffix/RuleProviders/StaticRuleProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public StaticRuleProvider(DomainDataStructure domainDataStructure)
/// <param name="rules"></param>
public StaticRuleProvider(IEnumerable<TldRule> rules)
{
base.CreareDomainDataStructure(rules);
base.CreateDomainDataStructure(rules);
}

/// <inheritdoc/>
Expand Down

0 comments on commit 1902929

Please sign in to comment.