Skip to content

Bugfix/spline 1122 labels not working#1123

Merged
wajda merged 2 commits into
developfrom
bugfix/spline-1122-labels-not-working
Nov 4, 2022
Merged

Bugfix/spline 1122 labels not working#1123
wajda merged 2 commits into
developfrom
bugfix/spline-1122-labels-not-working

Conversation

@wajda
Copy link
Copy Markdown
Contributor

@wajda wajda commented Nov 3, 2022

fixes #1122

The problem was in the incorrect serialization of bindVars to VPack. Specifically the lblValues:Array[Array[String]] -> Seq[...] -> Java -> VPack. The fix was to eliminate unnecessary conversions, and only pass Array[Array[String]] types to VPack that do not require Scala to Java conversion and is properly supported.

  1. Fixed the bindVars serialization
  2. Updated commons to the latest 1.3.0
  3. Fixed some deprecation warnings

@wajda wajda marked this pull request as ready for review November 3, 2022 19:33
@wajda wajda requested a review from cerveada as a code owner November 3, 2022 19:33
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Nov 3, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

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
6.5% 6.5% Duplication

Comment on lines -36 to +37
new StringBuilder()
new mutable.StringBuilder()
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.

Isn't it the same Class?

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.

It is - scala.collection.mutable.StringBuilder
Scala guide recommends to explicitly use mutable package name to clearly distinguish between mutable and immutable classes.

@wajda wajda merged commit 11c5838 into develop Nov 4, 2022
@wajda wajda deleted the bugfix/spline-1122-labels-not-working branch November 4, 2022 09:13
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.

Label filter not working

2 participants