[
https://issues.apache.org/jira/browse/VELOCITY-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Byron Foster closed VELOCITY-646.
---------------------------------
Resolution: Won't Fix
Leaving this as is for better backward compatibility the new #foreach index
functionality, VELOCITY-696, always begins with 0.
> Change default foreach iterator initial value to 0
> --------------------------------------------------
>
> Key: VELOCITY-646
> URL: https://issues.apache.org/jira/browse/VELOCITY-646
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Reporter: Byron Foster
> Fix For: 2.0
>
>
> Currently the default value for:
> String COUNTER_INITIAL_VALUE = "directive.foreach.counter.initial.value";
> is set to 1... I'm not sure what the motivation is for this, but I believe
> that 0 is the more appropriate default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]