diff --git a/GitDiffMargin/Git/GitDiffParser.cs b/GitDiffMargin/Git/GitDiffParser.cs index cac0f24..26f7493 100644 --- a/GitDiffMargin/Git/GitDiffParser.cs +++ b/GitDiffMargin/Git/GitDiffParser.cs @@ -10,12 +10,7 @@ public class GitDiffParser private readonly string _gitDiff; private readonly bool _suppressRollback; - public GitDiffParser(string gitDiff, int contextLines) - : this(gitDiff, contextLines, false) - { - } - - public GitDiffParser(string gitDiff, int contextLines, bool suppressRollback) + public GitDiffParser(string gitDiff, int contextLines, bool suppressRollback = false) { _gitDiff = gitDiff; _contextLines = contextLines; diff --git a/GitDiffMargin/Git/HunkRangeInfo.cs b/GitDiffMargin/Git/HunkRangeInfo.cs index d3cd4b8..3362fc8 100644 --- a/GitDiffMargin/Git/HunkRangeInfo.cs +++ b/GitDiffMargin/Git/HunkRangeInfo.cs @@ -9,13 +9,8 @@ namespace GitDiffMargin.Git { public class HunkRangeInfo { - public HunkRangeInfo(HunkRange originaleHunkRange, HunkRange newHunkRange, IEnumerable diffLines) - : this(originaleHunkRange, newHunkRange, diffLines, false) - { - } - public HunkRangeInfo(HunkRange originaleHunkRange, HunkRange newHunkRange, IEnumerable diffLines, - bool suppressRollback) + bool suppressRollback = false) { OriginalHunkRange = originaleHunkRange; NewHunkRange = newHunkRange;