Skip to content

Apply review follow-up fixes - #14

Merged
MasayukiOzawa merged 1 commit into
masterfrom
fix/review-comment-followup
Jun 21, 2026
Merged

Apply review follow-up fixes#14
MasayukiOzawa merged 1 commit into
masterfrom
fix/review-comment-followup

Conversation

@MasayukiOzawa

Copy link
Copy Markdown
Owner

Summary

  • Reuse ShowplanParser's existing attribute helper for root metadata.
  • Remove the now-unneeded ShowplanXmlElement helper.
  • Rename the diagnostics stub constructor parameter to avoid ambiguity with the field.

Testing

  • dotnet test .\MSSQLPlanViewer.sln -p:BaseOutputPath=.\artifacts\test-bin\

Copilot AI review requested due to automatic review settings June 21, 2026 09:05
@MasayukiOzawa
MasayukiOzawa merged commit 33ad305 into master Jun 21, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR applies follow-up refactors in the Core parsing layer and test stubs by consolidating XML attribute access into ShowplanParser’s existing helpers, removing an unused helper type, and clarifying a stub constructor parameter name to avoid ambiguity.

Changes:

  • Replaced root metadata attribute reads in ShowplanParser to use its internal GetAttribute helper.
  • Removed the now-unused ShowplanXmlElement helper type from Core parsing.
  • Renamed the diagnostics stub constructor parameter in tests to avoid confusion with the backing field.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/MSSQLPlanViewer.Core.Tests/PlanWorkspaceServiceTests.cs Renames the stub diagnostics constructor parameter to avoid ambiguity with the diagnostics field.
src/MSSQLPlanViewer.Core/Parsing/ShowplanXmlElement.cs Deletes an unused XML helper now replaced by ShowplanParser’s internal helpers.
src/MSSQLPlanViewer.Core/Parsing/ShowplanParser.cs Reuses the parser’s existing GetAttribute helper for root Version/Build metadata extraction.

@MasayukiOzawa
MasayukiOzawa deleted the fix/review-comment-followup branch June 21, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants