diff options
author | Ungureanu Marius <marius.ungureanu@xamarin.com> | 2014-05-31 09:44:56 +0400 |
---|---|---|
committer | Ungureanu Marius <marius.ungureanu@xamarin.com> | 2014-05-31 15:58:11 +0400 |
commit | 80afd27a8544baee29a1164348245a1d1d808e20 (patch) | |
tree | 2fbc46a6c87418f01ff799564ff5d4c2debd1edc /LibGit2Sharp/ContentChanges.cs | |
parent | e69b6e0c3a11e856a2fbf1d27491a33ec8db242b (diff) |
Fix issues reported by CodeAnalysis (NRefactory).
Diffstat (limited to 'LibGit2Sharp/ContentChanges.cs')
-rw-r--r-- | LibGit2Sharp/ContentChanges.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/LibGit2Sharp/ContentChanges.cs b/LibGit2Sharp/ContentChanges.cs index 01fb4175..e5d84503 100644 --- a/LibGit2Sharp/ContentChanges.cs +++ b/LibGit2Sharp/ContentChanges.cs @@ -13,7 +13,6 @@ namespace LibGit2Sharp public class ContentChanges { private readonly StringBuilder patchBuilder = new StringBuilder(); - private bool isBinaryComparison; /// <summary> /// Needed for mocking purposes. @@ -31,7 +30,7 @@ namespace LibGit2Sharp internal ContentChanges(bool isBinaryComparison) { - this.isBinaryComparison = isBinaryComparison; + this.IsBinaryComparison = isBinaryComparison; } internal void AppendToPatch(string patch) @@ -60,11 +59,7 @@ namespace LibGit2Sharp /// <summary> /// Determines if at least one side of the comparison holds binary content. /// </summary> - public virtual bool IsBinaryComparison - { - get { return isBinaryComparison; } - private set { isBinaryComparison = value; } - } + public virtual bool IsBinaryComparison { get; private set; } private int FileCallback(GitDiffDelta delta, float progress, IntPtr payload) { |