Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f1aa96a

Browse files
author
Jasmine
committed
get rid of unneccesary field and property added
1 parent dc74482 commit f1aa96a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/GitHub.Exports/Primitives/UriString.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ void SetUri(Uri uri)
7777
}
7878

7979
IsHypertextTransferProtocol = uri.IsHypertextTransferProtocol();
80-
IsGithubUri = uri.IsGithubUri();
8180
}
8281

8382
void SetFilePath(Uri uri)

src/GitHub.Extensions/UriExtensions.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ public static bool IsHypertextTransferProtocol(this Uri uri)
2525
return uri.Scheme == "http" || uri.Scheme == "https";
2626
}
2727

28-
public static bool IsGithubUri(this Uri uri)
29-
{
30-
return uri.OriginalString.Contains("github.com");
31-
}
32-
3328
public static bool IsSameHost(this Uri uri, Uri compareUri)
3429
{
3530
return uri.Host.Equals(compareUri.Host, StringComparison.OrdinalIgnoreCase);

0 commit comments

Comments
 (0)