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

allow returning 3.1 schema types in 'getType' #4285

Merged
merged 1 commit into from
Nov 1, 2022
Merged

Conversation

frantuma
Copy link
Member

@frantuma frantuma commented Nov 1, 2022

No description provided.

@frantuma frantuma merged commit cc9be28 into master Nov 1, 2022
@frantuma frantuma deleted the type-handling branch November 1, 2022 17:48
@@ -1110,6 +1113,10 @@ public Schema addRequiredItem(String requiredItem) {
**/

public String getType() {
boolean bindTypes = Boolean.valueOf(System.getProperty(BIND_TYPE_AND_TYPES, "false"));

Choose a reason for hiding this comment

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

parseBoolean would have been better than valueOf

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