Skip to content

Commit

Permalink
SLVS-1745 Remove not needed initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriela-trutan-sonarsource committed Jan 23, 2025
1 parent 49e7e7f commit 5f6200e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/IssueViz/FixSuggestion/FixSuggestionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ internal FixSuggestionHandler(
fixSuggestionNotification,
diffViewService)
{
this.diffViewService = diffViewService;
}

internal FixSuggestionHandler(
Expand Down Expand Up @@ -111,10 +110,8 @@ public void ApplyFixSuggestion(ShowFixSuggestionParams parameters)
}
}

private bool ValidateConfiguration(string configurationScopeId, out string configurationScopeRoot, out string failureReason)
{
return openInIdeConfigScopeValidator.TryGetConfigurationScopeRoot(configurationScopeId, out configurationScopeRoot, out failureReason);
}
private bool ValidateConfiguration(string configurationScopeId, out string configurationScopeRoot, out string failureReason) =>
openInIdeConfigScopeValidator.TryGetConfigurationScopeRoot(configurationScopeId, out configurationScopeRoot, out failureReason);

private void ApplyAndShowAppliedFixSuggestions(ShowFixSuggestionParams parameters, string configurationScopeRoot)
{
Expand Down

0 comments on commit 5f6200e

Please sign in to comment.