Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3408: Implement two javalib static String join() methods. #3420

Merged
merged 2 commits into from Aug 9, 2023

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 :)

@@ -8,7 +8,8 @@ import java.util._
import java.util.regex._
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
79 checks passed
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