diff options
author | yorah <yoram.harmelin@gmail.com> | 2013-04-18 20:35:37 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-04 20:59:37 +0400 |
commit | 88cf0d95103dbfe3a85ce47c7bb3e29e7e3a979b (patch) | |
tree | 8b7ebb937401c82904df4722b5cc7a5dc9e0ad99 /LibGit2Sharp/ObjectType.cs | |
parent | 02638bbb35484e7d13da860783bff9cdc514f436 (diff) |
Remove obsolete methods
Diffstat (limited to 'LibGit2Sharp/ObjectType.cs')
-rw-r--r-- | LibGit2Sharp/ObjectType.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/LibGit2Sharp/ObjectType.cs b/LibGit2Sharp/ObjectType.cs index c23a6046..ac8402f6 100644 --- a/LibGit2Sharp/ObjectType.cs +++ b/LibGit2Sharp/ObjectType.cs @@ -1,4 +1,5 @@ using System; +using LibGit2Sharp.Core; namespace LibGit2Sharp { @@ -30,21 +31,21 @@ namespace LibGit2Sharp internal static class ObjectTypeExtensions { - public static Core.GitObjectType ToGitObjectType(this ObjectType type) + public static GitObjectType ToGitObjectType(this ObjectType type) { switch (type) { case ObjectType.Commit: - return Core.GitObjectType.Commit; + return GitObjectType.Commit; case ObjectType.Tree: - return Core.GitObjectType.Tree; + return GitObjectType.Tree; case ObjectType.Blob: - return Core.GitObjectType.Blob; + return GitObjectType.Blob; case ObjectType.Tag: - return Core.GitObjectType.Tag; + return GitObjectType.Tag; default: throw new InvalidOperationException(string.Format("Cannot map {0} to a GitObjectType.", type)); |