Skip to content

Commit b2b187b

Browse files
committed
Remove redundant Branch.ToString() override
1 parent 3e93489 commit b2b187b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

LibGit2Sharp/Branch.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,5 @@ protected override string Shorten(string canonicalName)
242242
{
243243
return !Equals(left, right);
244244
}
245-
246-
/// <summary>
247-
/// Returns the <see cref = "NamedReference{TObject}.CanonicalName" />, a <see cref = "String" /> representation of the current <see cref = "Branch" />.
248-
/// </summary>
249-
/// <returns>The <see cref = "NamedReference{TObject}.CanonicalName" /> that represents the current <see cref = "Branch" />.</returns>
250-
public override string ToString()
251-
{
252-
return CanonicalName;
253-
}
254245
}
255246
}

0 commit comments

Comments
 (0)