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

Port ConcurrentNavigableMap.java from JSR-166 #3324

Conversation

mox692
Copy link
Contributor

@mox692 mox692 commented Jun 10, 2023

Ported from jsr166 (revision 1.20).
ConcurrentNavigableMap is required for ConcurrentSkipListMap.

Comment on lines 64 to 65
* <p>The returned map has an ordering equivalent to {@link
* java.util.Collections# reverseOrder ( Comparator )
Copy link
Contributor

Choose a reason for hiding this comment

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

Scalafmt does not work well with JavaDoc comments - because the {@link java.util.Collections#} is spanned across multiple lines Scaladoc would fail to build it. In most of JSR166 stuff (e.g. ForkJoinPool) javadoc comments were completely removed because of multiple issues related to that. Alternative is to use ScalaDoc syntax using brackets, however in case of JavaLib we can just get rid of documentation.
We still have official documentations, which would be typically used, while our generation of javadocs could be mostly used to compare which classess/methods are available in our implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, I omitted document in 4d6911c.

@WojciechMazur WojciechMazur enabled auto-merge (squash) June 11, 2023 12:27
@WojciechMazur WojciechMazur merged commit 356f9f3 into scala-native:main Jun 11, 2023
69 checks passed
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.

None yet

2 participants