Skip to content

Conversation

@LeeTibbert
Copy link
Contributor

Fix #3408

Implement javalib static String join() methods & corresponding Tests.
This implementation uses the new StringJoiner code.

@LeeTibbert LeeTibbert added component:javalib backport candidate PR which might be backported into previous major release of SN labels Aug 8, 2023
Copy link
Member

@tanishiking tanishiking left a comment

Choose a reason for hiding this comment

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

One nit comment, but otherwise it looks good from my side :)

import java.nio._
import java.nio.charset._
import java.util.Objects
import java.util.{Objects, Arrays}
Copy link
Member

Choose a reason for hiding this comment

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

Unused import?

Suggested change
import java.util.{Objects, Arrays}
import java.util.Objects

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tanishiking

Thank you for the review & suggestion. Good to have a second pair of eyes.

@WojciechMazur WojciechMazur merged commit b54e069 into scala-native:main Aug 9, 2023
WojciechMazur pushed a commit to WojciechMazur/scala-native that referenced this pull request Sep 1, 2023
…hods. (scala-native#3420)

* Fix scala-native#3408: Implement two javalib static String join() methods.

(cherry picked from commit b54e069)
WojciechMazur pushed a commit that referenced this pull request Sep 4, 2023
* Fix #3408: Implement two javalib static String join() methods.

(cherry picked from commit b54e069)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport candidate PR which might be backported into previous major release of SN component:javalib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

javalib String is missing two static join methods

3 participants