Skip to content

spline #1053 Fix warnings#1055

Merged
wajda merged 2 commits into
developfrom
bugfix/spline-1053-fix-warnings
Mar 29, 2022
Merged

spline #1053 Fix warnings#1055
wajda merged 2 commits into
developfrom
bugfix/spline-1053-fix-warnings

Conversation

@wajda
Copy link
Copy Markdown
Contributor

@wajda wajda commented Mar 28, 2022

fix some warnings

@wajda wajda requested a review from cerveada as a code owner March 28, 2022 18:07
Comment on lines +52 to 54
case ((prevSetter: Setter, m: Map[String@unchecked, _]), k: String) => prevSetter.compose(m.updated(k, _: Value)) -> m(k)
case ((prevSetter: Setter, m: ju.Map[String@unchecked, _]), k: String) => prevSetter.compose((v2: Value) => {
val m2 = new ju.HashMap[String, Any](m)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't there be a space?
String @unchecked?
I haven't found any hints in the Scala style guide, but seems to me others use space there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure, but this is what IDEA code formatter suggested.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wajda wajda merged commit d7697b8 into develop Mar 29, 2022
@wajda wajda deleted the bugfix/spline-1053-fix-warnings branch March 29, 2022 09:32
@wajda wajda linked an issue Apr 8, 2022 that may be closed by this pull request
28 tasks
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.

Fix compilation warnings

2 participants