-
Notifications
You must be signed in to change notification settings - Fork 156
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
chore: Move java 21 code to a dedicated folder and including code sni… #1023
Conversation
docs/src/main/java-jdk-21/docs/actors/classical/OptimizedActorWithJava21.java
Outdated
Show resolved
Hide resolved
That's great. So that's how it's done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
} | ||
} | ||
``` | ||
Java 21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, this is kind of like Tabs feature in docusaurus.
I often use Tabs when writing release notes at work.
I think this is a good example when we add the newest JDk-related features in the future.
|
||
// #pattern-matching | ||
|
||
static class OptimizedActorWithJava21 extends UntypedAbstractActor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should also add there source directory on the build script, as JDK9.scala does.
Motivation:
Group code in Java and Java21 tab, and as the origin is under in
@@@ div { .group-java }
, so It will not be visible to Scala user too.Continue of #1011