Skip to content

Commit

Permalink
Fix spelling in property name.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcind committed Sep 15, 2012
1 parent af32aa8 commit 1ac2cff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/System.Web.WebPages/FileExistenceCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace System.Web.WebPages
/// </summary>
internal class FileExistenceCache
{
private const int TickPerMiliseconds = 10000;
private const int TicksPerMillisecond = 10000;
private readonly VirtualPathProvider _virtualPathProvider;
private ConcurrentDictionary<string, bool> _cache;
private long _creationTick;
Expand All @@ -28,7 +28,7 @@ internal class FileExistenceCache
public FileExistenceCache(VirtualPathProvider virtualPathProvider, int milliSecondsBeforeReset = 1000)
{
_virtualPathProvider = virtualPathProvider;
_ticksBeforeReset = milliSecondsBeforeReset * TickPerMiliseconds;
_ticksBeforeReset = milliSecondsBeforeReset * TicksPerMillisecond;
Reset();
}

Expand All @@ -40,8 +40,8 @@ public VirtualPathProvider VirtualPathProvider

public int MilliSecondsBeforeReset
{
get { return _ticksBeforeReset / TickPerMiliseconds; }
internal set { _ticksBeforeReset = value * TickPerMiliseconds; }
get { return _ticksBeforeReset / TicksPerMillisecond; }
internal set { _ticksBeforeReset = value * TicksPerMillisecond; }
}

internal IDictionary<string, bool> CacheInternal
Expand Down

0 comments on commit 1ac2cff

Please sign in to comment.