Skip to content

Commit 59e01cd

Browse files
reakaleekMpdreamz
andauthored
Apply suggestions from code review
Co-authored-by: Martijn Laarman <[email protected]>
1 parent 96e9e19 commit 59e01cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Elastic.Documentation/Legacy/ILegacyUrlMapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public record LegacyPageMapping(string Url, string Version)
1111

1212
public interface ILegacyUrlMapper
1313
{
14-
List<LegacyPageMapping> MapLegacyUrl(IReadOnlyCollection<string>? mappedPages);
14+
IReadOnlyCollection<LegacyPageMapping> MapLegacyUrl(IReadOnlyCollection<string>? mappedPages);
1515
}
1616

1717
public record NoopLegacyUrlMapper : ILegacyUrlMapper

src/tooling/docs-assembler/AssembleSources.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class AssembleSources
4040

4141
public FrozenDictionary<Uri, TocTopLevelMapping> TocTopLevelMappings { get; }
4242

43-
public FrozenDictionary<string, List<string>> HistoryMappings { get; }
43+
public FrozenDictionary<string, IReadOnlyCollection<string>> HistoryMappings { get; }
4444

4545
public FrozenDictionary<Uri, TocConfigurationMapping> TocConfigurationMapping { get; }
4646

0 commit comments

Comments
 (0)