Skip to content

[WIP] Update implementation based on feedback from sonar review#24

Merged
casuffitsharp merged 2 commits intochore/sq_issuesfrom
copilot/sub-pr-21-another-one
Mar 2, 2026
Merged

[WIP] Update implementation based on feedback from sonar review#24
casuffitsharp merged 2 commits intochore/sq_issuesfrom
copilot/sub-pr-21-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 2, 2026

  • Rename CPU.cs to Cpu.cs to align file name with the Cpu type declared inside it

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>
@casuffitsharp casuffitsharp marked this pull request as ready for review March 2, 2026 04:10
@casuffitsharp casuffitsharp merged commit aed80eb into chore/sq_issues Mar 2, 2026
1 check passed
@casuffitsharp casuffitsharp deleted the copilot/sub-pr-21-another-one branch March 2, 2026 04:10
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 2, 2026

Copilot stopped work on behalf of casuffitsharp due to an error March 2, 2026 04:11
casuffitsharp added a commit that referenced this pull request Mar 2, 2026
* refactor(sonar): addresses sonarqube issues

* [WIP] Update implementation based on feedback from sonar review (#24)

* Initial plan

* refactor: rename CPU.cs to Cpu.cs to match the Cpu type name

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Use pattern matching to eliminate NullReferenceException in OnSelectedProcessChanged (#23)

* Initial plan

* Use pattern matching instead of unsafe cast in OnSelectedProcessChanged

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Rename PCB.cs to Pcb.cs to match declared type name (#22)

* Initial plan

* Rename PCB.cs to Pcb.cs to match the Pcb class name

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [WIP] Update PR to resolve SonarQube issues based on feedback (#25)

* Initial plan

* Fix ConvertBack to parse parameter as string instead of casting to bool

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Adjusted #pragma warning restore S2325 placement for clarity.

* Fix BooleanToVisibilityConverter parameter handling to support both string and bool types (#26)

* Initial plan

* Fix BooleanToVisibilityConverter to handle parameter as both string and bool

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Performing code cleanup

* Use null-conditional when updating prev process state

Replaced direct assignment with null-conditional operator for prev.State to prevent possible NullReferenceException if prev is null.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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