Redundant parentheses were removed. (#1275)

This commit is contained in:
Alexander Efremov
2016-04-21 13:15:26 +07:00
committed by Brendan Forster
parent 494bbfda42
commit d7d03fafa3
7 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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)