Skip to content

Use Iterator<MenuItem> instead of Iterator<?>#11

Open
parambirs wants to merge 1 commit intobethrobson:masterfrom
parambirs:patch-3
Open

Use Iterator<MenuItem> instead of Iterator<?>#11
parambirs wants to merge 1 commit intobethrobson:masterfrom
parambirs:patch-3

Conversation

@parambirs
Copy link

Use Iterator instead of Iterator<?> for better type safety. Also, remove risky cast that could fail at runtime.

Use Iterator<MenuItem> instead of Iterator<?> for better type safety. Also, remove risky cast that could fail at runtime.
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.

1 participant