diff options
author | nulltoken <emeric.fermas@gmail.com> | 2014-04-27 14:14:34 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2014-04-27 14:14:34 +0400 |
commit | a1b78fa4d290ae5fd5b0716140d3bc0ba390fe62 (patch) | |
tree | e4805a9afc3c9227c12030cc8161dfad25c37250 /LibGit2Sharp/ReflogCollection.cs | |
parent | 17fee2b51e2350821e21554a22275ef69c0e30be (diff) |
Favor usage of non obsolete methods
Diffstat (limited to 'LibGit2Sharp/ReflogCollection.cs')
-rw-r--r-- | LibGit2Sharp/ReflogCollection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/ReflogCollection.cs b/LibGit2Sharp/ReflogCollection.cs index 35d9fbd7..d95efbcb 100644 --- a/LibGit2Sharp/ReflogCollection.cs +++ b/LibGit2Sharp/ReflogCollection.cs @@ -36,7 +36,7 @@ namespace LibGit2Sharp Ensure.ArgumentNotNullOrEmptyString(canonicalName, "canonicalName"); Ensure.ArgumentNotNull(repo, "repo"); - if (!repo.Refs.IsValidName(canonicalName)) + if (!Reference.IsValidName(canonicalName)) { throw new InvalidSpecificationException( string.Format(CultureInfo.InvariantCulture, "The given reference name '{0}' is not valid", canonicalName)); |