Skip to content

Sonar cleanup 12 - #8805

Merged
nbolton merged 8 commits into
masterfrom
sonarCleanup_12
Aug 4, 2025
Merged

Sonar cleanup 12#8805
nbolton merged 8 commits into
masterfrom
sonarCleanup_12

Conversation

@sithlord48

@sithlord48 sithlord48 commented Aug 1, 2025

Copy link
Copy Markdown
Member

Next round of sonar "issues" cleanup

  • Add explicit for a bunch of constructiors
  • Remove unused StopWatch::double()
  • Make App::m_events private, access it from existing App::getEvents() in the sub classes
  • Make TCPListenSocket protected var's private and access via protected methods in subclasses
  • Make TCPSocket::m_events private access it from getEvents() in sub classes.
    • Note Attempting to make TcpSocket::outputBuffer / TcpSocket::inputBuffer private with protected member access did build but resulted in failure to connect.
  • Unify ClientApp::handleScreenError and ServerApp::handleScreenError into App::handleScreenError
  • Make App::m_bye protected member
  • Remove do nothing methods ClientApp::updateStatus(...) and ServerApp::updateStatus(...) (was even calling it in places)

@sithlord48
sithlord48 requested a review from nbolton August 2, 2025 13:50
@sithlord48
sithlord48 marked this pull request as ready for review August 2, 2025 13:50
@sithlord48
sithlord48 force-pushed the sonarCleanup_12 branch 2 times, most recently from db50017 to ab7eaab Compare August 3, 2025 03:28
@sithlord48
sithlord48 removed the request for review from nbolton August 3, 2025 03:28
@sithlord48
sithlord48 marked this pull request as draft August 3, 2025 03:28
@sithlord48
sithlord48 marked this pull request as ready for review August 3, 2025 05:01
@sithlord48
sithlord48 requested a review from nbolton August 3, 2025 05:01
nbolton
nbolton previously approved these changes Aug 4, 2025

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK to land, but one minor nit if you want to fix.

Comment thread src/lib/net/TCPListenSocket.h Outdated
@nbolton
nbolton merged commit ff1e7f3 into master Aug 4, 2025
31 checks passed
@nbolton
nbolton deleted the sonarCleanup_12 branch August 4, 2025 12:46
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