API: Lucene.Net.Replicator.Http.ReplicationService: Changed constructor parameter to accept IReadOnlyDictionary rather than IDictionary
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/34ef2ce5 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/34ef2ce5 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/34ef2ce5 Branch: refs/heads/master Commit: 34ef2ce56c48beeb36e3a608c5339b84b36a5414 Parents: 1405926 Author: Shad Storhaug <[email protected]> Authored: Fri Sep 15 10:53:23 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Fri Sep 15 10:53:23 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.Replicator/Http/ReplicationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/34ef2ce5/src/Lucene.Net.Replicator/Http/ReplicationService.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Replicator/Http/ReplicationService.cs b/src/Lucene.Net.Replicator/Http/ReplicationService.cs index b94241a..6ef6155 100644 --- a/src/Lucene.Net.Replicator/Http/ReplicationService.cs +++ b/src/Lucene.Net.Replicator/Http/ReplicationService.cs @@ -90,9 +90,9 @@ namespace Lucene.Net.Replicator.Http private const int SHARD_IDX = 0, ACTION_IDX = 1; private readonly string context; - private readonly IDictionary<string, IReplicator> replicators; + private readonly IReadOnlyDictionary<string, IReplicator> replicators; - public ReplicationService(IDictionary<string, IReplicator> replicators, string context = REPLICATION_CONTEXT) + public ReplicationService(IReadOnlyDictionary<string, IReplicator> replicators, string context = REPLICATION_CONTEXT) { this.context = context; this.replicators = replicators;
