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

套用 Java 17 的語法蜜糖 #1686

Open
chia7712 opened this issue May 1, 2023 · 5 comments
Open

套用 Java 17 的語法蜜糖 #1686

chia7712 opened this issue May 1, 2023 · 5 comments
Labels
good first issue Good for newcomers

Comments

@chia7712
Copy link
Contributor

chia7712 commented May 1, 2023

  1. 使用 java record 實作 pojo https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Record.html
  2. 使用Stream.toList取代Collectors
  3. 使用 pattern match for instanceof https://docs.oracle.com/en/java/javase/17/language/pattern-matching-instanceof-operator.html
@chia7712
Copy link
Contributor Author

chia7712 commented May 1, 2023

@Haser0305 @chaohengstudent 麻煩看一下這個議題以及參考 #1687 協助完成java 17 的語法優化

@Haser0305
Copy link
Collaborator

收到

1 similar comment
@chaohengstudent
Copy link
Collaborator

收到

@chia7712 chia7712 added the good first issue Good for newcomers label May 5, 2023
@chia7712
Copy link
Contributor Author

@Haser0305 @chaohengstudent 誒你們有在看嗎?感覺我快一個人做完了

@Haser0305
Copy link
Collaborator

不好意思,現在處理 instanceof 的部分

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants