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

增加空分页结果,防止到处new #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lyleArcher
Copy link

No description provided.

@lyleArcher
Copy link
Author

给我合一下呗

Copy link
Owner

@wz2cool wz2cool left a comment

Choose a reason for hiding this comment

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

如果想要优雅点 可以 return new LogicPagingResult

* @return 空的LogicPagingResult
*/
public static <T> LogicPagingResult<T> empty() {
return EMPTY_LOGIC_PAGING_RESULT;
Copy link
Owner

Choose a reason for hiding this comment

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

建议不要这要定义一个个全局静态 如果使用方 修改这里面的参数 比如修改属性 下一次拿到的是修改过属性的变量

Copy link

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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.

2 participants