Fix findbugs warning in ProjectManagerImpl.java Unnecessary boxing/unboxing of primitive value

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #434
This commit is contained in:
Rafael da Fonseca 2015-06-14 17:34:47 +02:00 committed by Rohit Yadav
parent 4d31ed9342
commit ec280189f4
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class ProjectManagerImpl extends ManagerBase implements ProjectManager {
_invitationRequired = Boolean.valueOf(configs.get(Config.ProjectInviteRequired.key()));
String value = configs.get(Config.ProjectInvitationExpirationTime.key());
_invitationTimeOut = Long.valueOf(value != null ? value : "86400") * 1000;
_invitationTimeOut = Long.parseLong(value != null ? value : "86400") * 1000;
_allowUserToCreateProject = Boolean.valueOf(configs.get(Config.AllowUserToCreateProject.key()));
// set up the email system for project invitations