Skip to content

Commit

Permalink
PR #546: Make pure private functions static
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Feb 6, 2021
1 parent 89e7bdd commit 703c877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ICSharpCode.SharpZipLib/Zip/ZipEntry.cs
Expand Up @@ -1125,7 +1125,7 @@ internal void ProcessExtraData(bool localHeader)
}
}

private DateTime? GetDateTime(ZipExtraData extraData)
private static DateTime? GetDateTime(ZipExtraData extraData)
{
// Check for NT timestamp
// NOTE: Disable by default to match behavior of InfoZIP
Expand Down
2 changes: 1 addition & 1 deletion src/ICSharpCode.SharpZipLib/Zip/ZipFile.cs
Expand Up @@ -1911,7 +1911,7 @@ public void AddDirectory(string directoryName)
/// Check if the specified compression method is supported for adding a new entry.
/// </summary>
/// <param name="compressionMethod">The compression method for the new entry.</param>
private void CheckSupportedCompressionMethod(CompressionMethod compressionMethod)
private static void CheckSupportedCompressionMethod(CompressionMethod compressionMethod)
{
if (compressionMethod != CompressionMethod.Deflated && compressionMethod != CompressionMethod.Stored && compressionMethod != CompressionMethod.BZip2)
{
Expand Down

0 comments on commit 703c877

Please sign in to comment.