Fix some SonarLint issues

refs #40
6 jobs for feature-#40-broadcast-messages in 3 minutes and 39 seconds (queued for 2 seconds)
latest