mirror of https://github.com/apache/cloudstack.git
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:
parent
4d31ed9342
commit
ec280189f4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue