Le 01/08/2018 à 12:36, Mark Thomas a écrit :

> For the benefit of the archives this change is correct but we do need to
> be careful.
> 
> Any string that includes substitutions (i.e. {0}, {1}, etc.) requires
> that any ' characters are escaped as '' due to how MessageFormat.format
> behaves.

Yes that's what I'm reviewing currently. I've grepped extensively the
message files and found several inconsistencies, either messages with
parameter and single quotes, or messages without parameters and double
quotes. I wonder if code analysis tools like Findbugs can spot these
issues automatically.

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to