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

Commit cd546bb

Browse files
committed
Fix CA errors.
1 parent 9f15db6 commit cd546bb

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/GitHub.InlineReviews/Services/PullRequestSessionManager.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public class PullRequestSessionManager : ReactiveObject, IPullRequestSessionMana
3434
readonly IPullRequestSessionService sessionService;
3535
readonly IConnectionManager connectionManager;
3636
readonly IModelServiceFactory modelServiceFactory;
37-
readonly ITeamExplorerServiceHolder teamExplorerService;
3837
readonly Dictionary<Tuple<string, int>, WeakReference<PullRequestSession>> sessions =
3938
new Dictionary<Tuple<string, int>, WeakReference<PullRequestSession>>();
4039
IPullRequestSession currentSession;
@@ -66,7 +65,6 @@ public PullRequestSessionManager(
6665
this.sessionService = sessionService;
6766
this.connectionManager = connectionManager;
6867
this.modelServiceFactory = modelServiceFactory;
69-
this.teamExplorerService = teamExplorerService;
7068
teamExplorerService.Subscribe(this, x => RepoChanged(x).Forget());
7169
}
7270

src/GitHub.VisualStudio/Services/ConnectionManager.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
using System.Collections.ObjectModel;
44
using System.ComponentModel.Composition;
55
using System.Linq;
6+
using System.Threading;
67
using System.Threading.Tasks;
78
using GitHub.Api;
89
using GitHub.Extensions;
910
using GitHub.Models;
1011
using GitHub.Primitives;
1112
using GitHub.Services;
12-
using IGitHubClient = Octokit.IGitHubClient;
1313
using GitHubClient = Octokit.GitHubClient;
14+
using IGitHubClient = Octokit.IGitHubClient;
1415
using User = Octokit.User;
15-
using Serilog;
16-
using GitHub.Logging;
17-
using System.Threading;
1816

1917
namespace GitHub.VisualStudio
2018
{
@@ -24,8 +22,6 @@ namespace GitHub.VisualStudio
2422
[Export(typeof(IConnectionManager))]
2523
public class ConnectionManager : IConnectionManager
2624
{
27-
static readonly ILogger log = LogManager.ForContext<ConnectionManager>();
28-
2925
readonly IProgram program;
3026
readonly IConnectionCache cache;
3127
readonly IKeychain keychain;

0 commit comments

Comments
 (0)