From eb5687d721fe4003aadffb98a5c930ebf569bb74 Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Fri, 22 Apr 2016 17:40:22 +0700 Subject: [PATCH] Incosistent modifiers declaration order was fixed. Unused usings were removed in GithubClientExtensions.cs --- .../Helpers/GithubClientExtensions.cs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Octokit.Tests.Integration/Helpers/GithubClientExtensions.cs b/Octokit.Tests.Integration/Helpers/GithubClientExtensions.cs index 95de0794..8f982e43 100644 --- a/Octokit.Tests.Integration/Helpers/GithubClientExtensions.cs +++ b/Octokit.Tests.Integration/Helpers/GithubClientExtensions.cs @@ -1,14 +1,10 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Threading.Tasks; namespace Octokit.Tests.Integration.Helpers { internal static class GithubClientExtensions { - internal async static Task CreateRepositoryContext(this IGitHubClient client, string repositoryName) + internal static async Task CreateRepositoryContext(this IGitHubClient client, string repositoryName) { var repoName = Helper.MakeNameWithTimestamp(repositoryName); var repo = await client.Repository.Create(new NewRepository(repoName) { AutoInit = true }); @@ -16,35 +12,35 @@ namespace Octokit.Tests.Integration.Helpers return new RepositoryContext(repo); } - internal async static Task CreateRepositoryContext(this IGitHubClient client, string organizationLogin, NewRepository newRepository) + internal static async Task CreateRepositoryContext(this IGitHubClient client, string organizationLogin, NewRepository newRepository) { var repo = await client.Repository.Create(organizationLogin, newRepository); return new RepositoryContext(repo); } - internal async static Task CreateRepositoryContext(this IGitHubClient client, NewRepository newRepository) + internal static async Task CreateRepositoryContext(this IGitHubClient client, NewRepository newRepository) { var repo = await client.Repository.Create(newRepository); return new RepositoryContext(repo); } - internal async static Task CreateEnterpriseTeamContext(this IGitHubClient client, string organization, NewTeam newTeam) + internal static async Task CreateEnterpriseTeamContext(this IGitHubClient client, string organization, NewTeam newTeam) { var team = await client.Organization.Team.Create(organization, newTeam); return new EnterpriseTeamContext(team); } - internal async static Task CreateEnterpriseUserContext(this IGitHubClient client, NewUser newUser) + internal static async Task CreateEnterpriseUserContext(this IGitHubClient client, NewUser newUser) { var user = await client.User.Administration.Create(newUser); return new EnterpriseUserContext(user); } - internal async static Task CreatePublicKeyContext(this IGitHubClient client) + internal static async Task CreatePublicKeyContext(this IGitHubClient client) { // Create a key string keyTitle = "title";