mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 20:30:41 +00:00
Redundant parentheses were removed. (#1275)
This commit is contained in:
committed by
Brendan Forster
parent
494bbfda42
commit
d7d03fafa3
@@ -154,8 +154,8 @@ namespace Octokit
|
||||
: base(info, context)
|
||||
{
|
||||
if (info == null) return;
|
||||
StatusCode = (HttpStatusCode)(info.GetInt32("HttpStatusCode"));
|
||||
ApiError = (ApiError)(info.GetValue("ApiError", typeof(ApiError)));
|
||||
StatusCode = (HttpStatusCode) info.GetInt32("HttpStatusCode");
|
||||
ApiError = (ApiError) info.GetValue("ApiError", typeof(ApiError));
|
||||
}
|
||||
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace Octokit
|
||||
RepositoryName = info.GetString("RepositoryName");
|
||||
Organization = info.GetString("Organization");
|
||||
OwnerIsOrganization = info.GetBoolean("OwnerIsOrganization");
|
||||
ExistingRepositoryWebUrl = (Uri)(info.GetValue("ExistingRepositoryWebUrl", typeof(Uri)));
|
||||
ExistingRepositoryWebUrl = (Uri) info.GetValue("ExistingRepositoryWebUrl", typeof(Uri));
|
||||
}
|
||||
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace Octokit
|
||||
: base(info, context)
|
||||
{
|
||||
if (info == null) return;
|
||||
TwoFactorType = (TwoFactorType)(info.GetInt32("TwoFactorType"));
|
||||
TwoFactorType = (TwoFactorType) info.GetInt32("TwoFactorType");
|
||||
}
|
||||
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
|
||||
Reference in New Issue
Block a user