We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// count >= 10 int validCount = Math.max(commonParam.getCount(), 10);
The text was updated successfully, but these errors were encountered:
commonParam.getCount() <= 0 ? 10 : (commonParam.getCount() > 10 ? 10 : commonParam.getCount())
Sorry, something went wrong.
private int getLimit(int limit){ limit = Math.max(1, limit);//ensure limit >= 1 return Math.min(10, limit);//ensure limit <= 10 }
No branches or pull requests
// count >= 10
int validCount = Math.max(commonParam.getCount(), 10);
The text was updated successfully, but these errors were encountered: