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

檢查 Collection 是否為 null 或 空 #1745

Open
chinghongfang opened this issue May 14, 2023 · 0 comments
Open

檢查 Collection 是否為 null 或 空 #1745

chinghongfang opened this issue May 14, 2023 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@chinghongfang
Copy link
Collaborator

我們時常會需要檢查一個 Collection 是否是 null 或 空集合,這時候可以把這些繁瑣檢查放到 Utils 中,

#1720 我們在 Utils 新增了一個檢查的方法,我們可以把專案內其他需要同時判斷 null 或 空 的用法,使用 Utils.requireNonEmpty() 替換。

@chinghongfang chinghongfang added the good first issue Good for newcomers label May 14, 2023
@chia7712 chia7712 added this to the 0.3.0 milestone May 15, 2023
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

2 participants