Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed Mar 3, 2014
1 parent 48073b5 commit 91fdbfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SolrNet/Commands/Replication/FetchIndexCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ public FetchIndexCommand()
/// is specified in the <lst name="slave" /> tag) to do a one time replication from a master.
/// This obviates the need for hard-coding the master in the slave.
/// </summary>
/// <param name="paramseters">Optional parameters</param>
public FetchIndexCommand(Dictionary<string, string> paramseters)
/// <param name="parameters">Optional parameters</param>
public FetchIndexCommand(Dictionary<string, string> parameters)
{
if (paramseters == null || paramseters.Count == 0)
throw new ArgumentException("Paramseters must be specified.", "paramseters");
if (parameters == null || parameters.Count == 0)
throw new ArgumentException("Parameters must be specified.", "parameters");

AddParameter("command", "fetchindex");

foreach (string key in paramseters.Keys)
AddParameter(key, paramseters[key]);
foreach (string key in parameters.Keys)
AddParameter(key, parameters[key]);
}
}
}

0 comments on commit 91fdbfd

Please sign in to comment.