Skip to content

Add generics to _ArrayIterator and _ArrayEnumeration#115

Open
hduelme wants to merge 1 commit into
apache:2.3-gaefrom
hduelme:add-generics-to-_ArrayIterator-and-_ArrayEnumeration
Open

Add generics to _ArrayIterator and _ArrayEnumeration#115
hduelme wants to merge 1 commit into
apache:2.3-gaefrom
hduelme:add-generics-to-_ArrayIterator-and-_ArrayEnumeration

Conversation

@hduelme

@hduelme hduelme commented Sep 3, 2024

Copy link
Copy Markdown
Contributor

I added the missing generics to _ArrayIterator and _ArrayEnumeration and to the places they are used.

@ddekany

ddekany commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

The reason FreeMarker doesn't use generics is that it's not backward compatible to add them to public API-s. So it couldn't adopt them. Even though TemplateElement is in principle internal, it's used by some.

@hduelme hduelme force-pushed the add-generics-to-_ArrayIterator-and-_ArrayEnumeration branch from 93810d2 to cd1f5be Compare September 4, 2024 14:47
@hduelme

hduelme commented Sep 4, 2024

Copy link
Copy Markdown
Contributor Author

Good to know, I thought TemplateElement was only an internal API. I removed the change to the API.

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