Skip to content

Commit

Permalink
Minor edits (whitespace)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterWaher committed Apr 15, 2021
1 parent 99eb653 commit 0001aaa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions Persistence/Waher.Persistence.Files/FilesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), true, CustomKeyMethod, null);
!(CustomKeyMethod is null), true, CustomKeyMethod, null);
}

/// <summary>
Expand Down Expand Up @@ -238,7 +238,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, bool Encrypted, bool Compiled)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
Encrypted, Compiled, null, null);
Encrypted, Compiled, null, null);
}

/// <summary>
Expand All @@ -263,7 +263,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, bool Compiled)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, null);
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, null);
}

/// <summary>
Expand All @@ -288,7 +288,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, bool Encrypted, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
Encrypted, true, null, Thread);
Encrypted, true, null, Thread);
}
#endif
/// <summary>
Expand All @@ -313,7 +313,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), true, CustomKeyMethod, Thread);
!(CustomKeyMethod is null), true, CustomKeyMethod, Thread);
}

/// <summary>
Expand Down Expand Up @@ -390,7 +390,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, bool Compiled, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, Thread);
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, Thread);
}
#endif
private async static Task<FilesProvider> CreateAsync(string Folder, string DefaultCollectionName, int BlockSize, int BlocksInCache, int BlobBlockSize,
Expand Down Expand Up @@ -585,7 +585,7 @@ public void Dispose()

this.serializers?.Dispose();
this.serializers = null;

WriteTimestamp("Stop.txt");
}

Expand Down
14 changes: 7 additions & 7 deletions Persistence/Waher.Persistence.FilesLW/FilesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), true, CustomKeyMethod, null);
!(CustomKeyMethod is null), true, CustomKeyMethod, null);
}

/// <summary>
Expand Down Expand Up @@ -238,7 +238,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, bool Encrypted, bool Compiled)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
Encrypted, Compiled, null, null);
Encrypted, Compiled, null, null);
}

/// <summary>
Expand All @@ -263,7 +263,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, bool Compiled)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, null);
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, null);
}

/// <summary>
Expand All @@ -288,7 +288,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, bool Encrypted, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
Encrypted, true, null, Thread);
Encrypted, true, null, Thread);
}
#endif
/// <summary>
Expand All @@ -313,7 +313,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), true, CustomKeyMethod, Thread);
!(CustomKeyMethod is null), true, CustomKeyMethod, Thread);
}

/// <summary>
Expand Down Expand Up @@ -390,7 +390,7 @@ public static Task<FilesProvider> CreateAsync(string Folder, string DefaultColle
Encoding Encoding, int TimeoutMilliseconds, CustomKeyHandler CustomKeyMethod, bool Compiled, ProfilerThread Thread)
{
return CreateAsync(Folder, DefaultCollectionName, BlockSize, BlocksInCache, BlobBlockSize, Encoding, TimeoutMilliseconds,
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, Thread);
!(CustomKeyMethod is null), Compiled, CustomKeyMethod, Thread);
}
#endif
private async static Task<FilesProvider> CreateAsync(string Folder, string DefaultCollectionName, int BlockSize, int BlocksInCache, int BlobBlockSize,
Expand Down Expand Up @@ -585,7 +585,7 @@ public void Dispose()

this.serializers?.Dispose();
this.serializers = null;

WriteTimestamp("Stop.txt");
}

Expand Down

0 comments on commit 0001aaa

Please sign in to comment.