Remove username from the mindmap info.

This commit is contained in:
Paulo Gustavo Veiga
2012-07-15 02:04:53 -03:00
parent 9257638da2
commit 1ac80626b4
7 changed files with 6 additions and 12 deletions

View File

@@ -142,7 +142,7 @@ public class UserServiceImpl
return user;
}
private MindMap buildWelcomeMindmap(@NotNull String username) throws WiseMappingException {
private MindMap buildWelcomeMindmap(@NotNull String firstName) throws WiseMappingException {
//To change body of created methods use File | Settings | File Templates.
final Locale locale = LocaleContextHolder.getLocale();
MindMap result = new MindMap();
@@ -155,7 +155,7 @@ public class UserServiceImpl
try {
final byte[] bytes = IOUtils.toByteArray(resourceAsStream);
result.setXml(bytes);
result.setTitle(messageSource.getMessage("WELCOME", null, locale) + " " + username);
result.setTitle(messageSource.getMessage("WELCOME", null, locale) + " " + firstName);
result.setDescription("");
} catch (IOException e) {