freemarker
freemarker copied to clipboard
Add generics to _ArrayIterator and _ArrayEnumeration
I added the missing generics to _ArrayIterator and _ArrayEnumeration and to the places they are used.
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.
Good to know, I thought TemplateElement was only an internal API. I removed the change to the API.