Skip to content
This repository was archived by the owner on Dec 13, 2021. It is now read-only.

Commit 391cd1c

Browse files
committed
Oops! More minor code amends
Spotted some other small code typos.
1 parent f19fffc commit 391cd1c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Our.Umbraco.Ditto/ComponentModel/Processors/Contexts/DittoChainContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void AddRange(IEnumerable<DittoProcessorContext> contexts)
6464
/// <summary>
6565
/// Adds a processor context to the collection chain.
6666
/// </summary>
67-
/// <param name="ctx">The processor context.</param>
67+
/// <param name="context">The processor context.</param>
6868
public void Add(DittoProcessorContext context)
6969
{
7070
_processorContexts.AddOrUpdate(context.GetType(), context, (type, ctx) => ctx); // Don't override if already exists

tests/Our.Umbraco.Ditto.PerformanceTests/PublishedContentMapping.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public void MapManually()
5757
{
5858
Id = default(int), // this.content.Id,
5959
Name = default(string), // this.content.Name,
60-
Item = default(string), // this.content.GetProperty("item").Value.TryConvertTo<string>().Result
6160
Item = default(string) // this.content.GetProperty("item").Value.TryConvertTo<string>().Result
6261
};
6362
}

0 commit comments

Comments
 (0)