Fixed code analysis errors

This commit is contained in:
Kristian Hellang
2013-11-25 00:20:22 +01:00
parent df0963c848
commit 25308e5f5e
6 changed files with 48 additions and 14 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
{
public class ReferenceUpdate
{
public ReferenceUpdate(string sha, bool force = false)
public ReferenceUpdate(string sha) : this(sha, false)
{
}
public ReferenceUpdate(string sha, bool force)
{
Ensure.ArgumentNotNullOrEmptyString(sha, "sha");