Skip to content

Commit

Permalink
We can set this directly
Browse files Browse the repository at this point in the history
  • Loading branch information
flagbug committed Aug 19, 2014
1 parent 6666865 commit 743c040
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lager/SettingsStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ private void AddToInternalCache(string key, object value)
{
this.cacheLock.EnterWriteLock();

this.cache.Remove(key);
this.cache.Add(key, value);
this.cache[key] = value;

this.cacheLock.ExitWriteLock();
}
Expand Down

0 comments on commit 743c040

Please sign in to comment.