Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Polishing of SonarLint issues #222

Merged
merged 4 commits into from
Jan 11, 2020
Merged

Polishing of SonarLint issues #222

merged 4 commits into from
Jan 11, 2020

Conversation

sfuhrm
Copy link
Contributor

@sfuhrm sfuhrm commented Jan 7, 2020

Make sure that:

  • You have read the contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.

This reduces the number of sonarlint issues in the main code to 91.

sfuhrm added 2 commits January 7, 2020 20:01
local var channel hides field channel
Replace StringBuffer with StringBuilder because of local usage (no sync needed)
Add private constructors to non instance classes
Copy link
Owner

@mp911de mp911de left a comment

Choose a reason for hiding this comment

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

Thanks a lot. Most changes are fine that also fix some stylistic inconsistencies in our code. The change regarding potential hidden instance fields, I'm reluctant. Adding a my… prefix rather increases the mental effort to gist the code while reading it. Care to have a look?

@sfuhrm
Copy link
Contributor Author

sfuhrm commented Jan 11, 2020

Reverted the unshadowing of fields and the map field name.

@sfuhrm sfuhrm requested a review from mp911de January 11, 2020 15:15
@mp911de mp911de merged commit 0878e95 into mp911de:master Jan 11, 2020
@mp911de mp911de added the type: task A general task label Jan 11, 2020
@mp911de mp911de added this to the 1.14.0 milestone Jan 11, 2020
@mp911de
Copy link
Owner

mp911de commented Jan 11, 2020

Thanks a lot, that's merged now.

@mp911de mp911de changed the title Sonarlint91 Polishing of SonarLint issues Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants