Skip to content

Commit 376e764

Browse files
committed
1 parent 60fe706 commit 376e764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Algorithms/DataCompression/HuffmanCompressor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public HuffmanCompressor(IComparisonSorter<ListNode> sorter, Translator translat
2727
/// </summary>
2828
/// <param name="uncompressedText">Text message to compress.</param>
2929
/// <returns>Compressed string and keys to decompress it.</returns>
30-
public (string compressedText, Dictionary<string, string> decompressionKeys) Compress(string uncompressedText)
30+
public (string CompressedText, Dictionary<string, string> DecompressionKeys) Compress(string uncompressedText)
3131
{
3232
if (string.IsNullOrEmpty(uncompressedText))
3333
{
@@ -70,7 +70,7 @@ private static ListNode[] GetListNodesFromText(string text)
7070
return occurenceCounts.Select(kvp => new ListNode(kvp.Key, 1d * kvp.Value / text.Length)).ToArray();
7171
}
7272

73-
private (Dictionary<string, string> compressionKeys, Dictionary<string, string> decompressionKeys) GetKeys(
73+
private (Dictionary<string, string> CompressionKeys, Dictionary<string, string> DecompressionKeys) GetKeys(
7474
ListNode tree)
7575
{
7676
var compressionKeys = new Dictionary<string, string>();

0 commit comments

Comments
 (0)