Skip to content

Commit

Permalink
chore: properly use default version
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Jul 31, 2023
1 parent 68462b2 commit 3fee183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CommonLib/Cache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Cache
//
// [DataMember]private ConcurrentDictionary<string, string> _valueToIDCache;

private static Version defaultVersion = new Version(1, 0, 0);
private static Version defaultVersion = new(1, 0, 0);

private Cache()
{
Expand Down Expand Up @@ -147,7 +147,7 @@ public static Cache CreateNewCache(Version version = null)
{
if (version == null)
{
version = new Version(1, 0, 0);
version = defaultVersion;
}
return new Cache
{
Expand Down

0 comments on commit 3fee183

Please sign in to comment.