Skip to content

Commit c6c617a

Browse files
committed
ran dotnet format for warn severity
1 parent dff173e commit c6c617a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SystemTextJson.JsonDiffPatch/Diffs/DiffMatchPatch/DiffMatchPatch.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ internal class diff_match_patch
238238
public short Patch_Margin = 4;
239239

240240
// The number of bits in an int.
241-
private short Match_MaxBits = 32;
241+
private readonly short Match_MaxBits = 32;
242242

243243

244244
// DIFF FUNCTIONS
@@ -1248,8 +1248,8 @@ private int diff_cleanupSemanticScore(string one, string two)
12481248
}
12491249

12501250
// Define some regex patterns for matching boundaries.
1251-
private Regex BLANKLINEEND = new Regex("\\n\\r?\\n\\Z");
1252-
private Regex BLANKLINESTART = new Regex("\\A\\r?\\n\\r?\\n");
1251+
private readonly Regex BLANKLINEEND = new Regex("\\n\\r?\\n\\Z");
1252+
private readonly Regex BLANKLINESTART = new Regex("\\A\\r?\\n\\r?\\n");
12531253

12541254
/**
12551255
* Reduce the number of edits by eliminating operationally trivial

0 commit comments

Comments
 (0)