You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Don Brown <mr...@twdata.org> on 2003/01/16 07:56:24 UTC

[PATCH] org.apache.tools.ant.taskdef.optional.i18n.Translate

This patch fixes the case where not all tokens are found.  Previously, the
code searched for the next token from where the last one was found.  This
is not necessary and in fact problematic as the line it is searching has
already had the previous token replaced so the contents have been changed.
Starting the search from the beginning of the line is the desired
behavior.