Skip to content

Commit ed4c48f

Browse files
committed
remove obsolete cast
1 parent 4580cfb commit ed4c48f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvGithubIssueSubmitter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ protected boolean submit(IdeaLoggingEvent event, String additionalInfo, Project
6363
}
6464
GithubAccount githubAccount = githubAuthManager.getSingleOrDefaultAccount(project);
6565
assert githubAccount != null;
66-
// the cast shouldn't be needed due to inheritance, but Java complains for some reason in 2022.1
67-
GithubApiRequestExecutor githubExecutor = GithubApiRequestExecutor.class.cast(GithubApiRequestExecutorManager.getInstance().getExecutor(githubAccount, project));
66+
GithubApiRequestExecutor githubExecutor = GithubApiRequestExecutorManager.getInstance().getExecutor(githubAccount, project);
6867

6968
Task submitTask = new Task.Backgroundable(project, getReportActionText()) {
7069
@Override

0 commit comments

Comments
 (0)