Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor spelling fixes. #1005

Merged
merged 2 commits into from
Nov 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/NRediSearch/Literals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static class Literals
/// Obtain a lazily-cached pre-encoded and boxed representation of a string
/// </summary>
/// <param name="value">The value to get a literal representation for.</param>
/// <remarks>This shoul donly be used for fixed values, not user data (the cache is never reclaimed, so it will be a memory leak)</remarks>
/// <remarks>This should only be used for fixed values, not user data (the cache is never reclaimed, so it will be a memory leak)</remarks>
public static object Literal(this string value)
{
if (value == null) return _null;
Expand Down
10 changes: 5 additions & 5 deletions src/StackExchange.Redis/LuaScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace StackExchange.Redis
public sealed class LuaScript
{
// Since the mapping of "script text" -> LuaScript doesn't depend on any particular details of
// the redis connection itself, this cache is global.
// the redis connection itself, this cache is global.
private static readonly ConcurrentDictionary<string, WeakReference> Cache = new ConcurrentDictionary<string, WeakReference>();

/// <summary>
Expand Down Expand Up @@ -139,7 +139,7 @@ internal void ExtractParameters(object ps, RedisKey? keyPrefix, out RedisKey[] k
/// <summary>
/// Evaluates this LuaScript against the given database, extracting parameters from the passed in object if any.
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis database to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
Expand All @@ -152,7 +152,7 @@ public RedisResult Evaluate(IDatabase db, object ps = null, RedisKey? withKeyPre
/// <summary>
/// Evaluates this LuaScript against the given database, extracting parameters from the passed in object if any.
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis database to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
Expand Down Expand Up @@ -257,7 +257,7 @@ internal LoadedLuaScript(LuaScript original, byte[] hash)
/// been loaded into the passed Redis instance it will fail.
/// </para>
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis database to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
Expand All @@ -274,7 +274,7 @@ public RedisResult Evaluate(IDatabase db, object ps = null, RedisKey? withKeyPre
/// been loaded into the passed Redis instance it will fail.
/// </para>
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis database to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
Expand Down