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

Could you please change the minimum data range so that could be less than -1 #86

Closed
BeFabulousJia12 opened this issue Jun 15, 2018 · 2 comments

Comments

@BeFabulousJia12
Copy link

In JJSchemaUtil.java file, please change the data range condition for attributes.minimum() to make it possible be less than -1. Sometimes, we need set the minimum value e.g. -10, which is less than -1.
···
if (attributes.minimum() > -1) {
node.put("minimum", attributes.minimum());
}
···

@reinert
Copy link
Owner

reinert commented Jun 15, 2018

Sure, I'll set Integer.MIN_VALUE

@reinert
Copy link
Owner

reinert commented Jun 15, 2018

Solved in 1a25434.

New version released.

@reinert reinert closed this as completed Jun 15, 2018
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

No branches or pull requests

2 participants