Skip to content

Commit 4fda55d

Browse files
committed
Move static method higher in the class
1 parent 349a414 commit 4fda55d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SabreTools.Hashing/SpamSum/SpamSum.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public override void Initialize()
3636
_state.BH[0].DIndex = 0;
3737
}
3838

39+
/// <inheritdoc cref="Comparisons.FuzzyCompare(string?, string?)"/>
40+
public static int FuzzyCompare(string? firstHash, string? secondHash)
41+
=> Comparisons.FuzzyCompare(firstHash, secondHash);
42+
3943
/// <inheritdoc/>
4044
protected override void HashCore(byte[] array, int ibStart, int cbSize)
4145
{
@@ -352,9 +356,5 @@ private static int EliminateSequences(byte[] dst, int dstPtr, byte[] src, int sr
352356

353357
return n;
354358
}
355-
356-
/// <inheritdoc cref="Comparisons.FuzzyCompare(string?, string?)"/>
357-
public static int FuzzyCompare(string? firstHash, string? secondHash)
358-
=> Comparisons.FuzzyCompare(firstHash, secondHash);
359359
}
360360
}

0 commit comments

Comments
 (0)