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

Print Integer as expected type if String is given #387

Merged
merged 2 commits into from
Oct 19, 2020

Conversation

zgyorffi
Copy link
Contributor

Addressing #381

@zgyorffi zgyorffi force-pushed the fix_expected_type_message branch from 92f92a4 to ac9542a Compare October 18, 2020 20:49
Copy link
Contributor

@erosb erosb left a 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() {
Copy link
Contributor

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 {
Copy link
Contributor

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.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 91.492% when pulling caa841b on zgyorffi:fix_expected_type_message into 853c936 on everit-org:master.

@erosb erosb merged commit da6e9fd into everit-org:master Oct 19, 2020
erosb pushed a commit to erosb/hazelcast that referenced this pull request Apr 4, 2021
erosb pushed a commit to hazelcast/hazelcast that referenced this pull request Apr 5, 2021
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.

3 participants