-
Notifications
You must be signed in to change notification settings - Fork 280
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
Print Integer as expected type if String is given #387
Conversation
92f92a4
to
ac9542a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments added, otherwise looks good, thank you @zgyorffi !
@@ -150,7 +150,7 @@ public boolean requiresInteger() { | |||
return requiresInteger; | |||
} | |||
|
|||
public boolean isRequiresNumber() { | |||
public boolean requiresNumber() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't rename public methods, it breaks API compatibility (I know that isRequiresNumber()
is a very poor name :))
import java.util.concurrent.atomic.AtomicLong; | ||
|
||
|
||
public class TypeChecker { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this class package-private.
….12.1 to 1.12.2 the error messages changed due to the following PRs: everit-org/json-schema#387 everit-org/json-schema#401
….12.1 to 1.12.2 the error messages changed due to the following PRs: everit-org/json-schema#387 everit-org/json-schema#401
Addressing #381