Skip to content

Explicitly cast the Enum#compareTo argument #139

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

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

harawata
Copy link
Contributor

Hello @lukaszlenart ,

javac works fine, but Eclipse JDT requires explicit casting.
It seems that the JLS is not clear about this.

javac allows this, but Eclipse JDT does not.
@lukaszlenart
Copy link
Collaborator

LGTM 👍

@lukaszlenart lukaszlenart merged commit a290cb0 into orphan-oss:master Nov 19, 2021
@harawata harawata deleted the cast-enum branch November 19, 2021 10:52
@lukaszlenart
Copy link
Collaborator

OGNL 3.3.0 is out and it also requires Java 8
https://github.com/jkuhnert/ognl/blob/master/docs/VersionNotes.md#release-notes---version-330-2021-11-19

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