Adding to @Ralph's answer: You will realize that this is a MessageFormat thing when you have text similar to
text1=It too late
against
text2={0}' too late
text1 will probably not work through MessageFormater (for example, spring has different code codes if arguments are passed or not), while text2 will. Therefore, if you used two single quotes in text1 , they can / will be displayed as such. Therefore, you need to check if any arguments are formatted or not, and use one or two single quotes, respectively.
sorrymissjackson Feb 02 '16 at 7:32 2016-02-02 07:32
source share