freemarker icon indicating copy to clipboard operation
freemarker copied to clipboard

Add generics to _ArrayIterator and _ArrayEnumeration

Open hduelme opened this issue 1 year ago • 2 comments

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

hduelme avatar Sep 03 '24 22:09 hduelme

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.

ddekany avatar Sep 04 '24 09:09 ddekany

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

hduelme avatar Sep 04 '24 14:09 hduelme