minor fix on get user fullname
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vo-management/usermanagement-core@142697 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3d9b3a42a9
commit
d9346be43e
|
@ -253,7 +253,8 @@ public class LiferayWSUserManager implements UserManager{
|
|||
String fullname =
|
||||
(first == null | first.isEmpty() ? "" : first + " ") +
|
||||
(middle == null | middle.isEmpty() ? "" : middle + " ") +
|
||||
(last == null | last.isEmpty() ? "" : last + " ");
|
||||
(last == null | last.isEmpty() ? "" : last);
|
||||
fullname = fullname.endsWith(" ") ? fullname.substring(0, fullname.length() - 1) : fullname;
|
||||
logger.info("Built fullname is " + fullname);
|
||||
return fullname;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue