93949596979899100101102103
final ILocalizedText finalLocalizedText = localizedText; return new ILocalizedText() { public String format(Map parameters) { String result = finalLocalizedText.format(parameters); return result.replaceAll("\n", m_newline); //$NON-NLS-1$ } }; } }