Skip to content

Explicitly cast the Enum#compareTo argument - #139

Merged
lukaszlenart merged 1 commit into
orphan-oss:masterfrom
harawata:cast-enum
Nov 19, 2021
Merged

lukaszlenart merged 1 commit into
orphan-oss:masterfrom
harawata:cast-enum

Conversation

@harawata

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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