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

Compile errors #1

Closed
mazumdarparijat opened this issue Oct 9, 2014 · 2 comments
Closed

Compile errors #1

mazumdarparijat opened this issue Oct 9, 2014 · 2 comments

Comments

@mazumdarparijat
Copy link
Collaborator

Integer.compare(val1, val2) in the Rule.java is giving me compile error. @brahmaneya what is it supposed to do? val1-val2 ?

@brahmaneya
Copy link
Owner

What are val1, val2? What's the error?
Integer.compare(v1, v2) simply returns -1 if v1 < v2, 0 if v1 = v2 and 1 otherwise.

@mazumdarparijat
Copy link
Collaborator Author

I figured it out! I was using a different JavaSE version, hence the error. Thanks!

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