Fix sonar Performance - Boxed value is unboxed and then immediately reboxed

This commit is contained in:
cagache
2019-06-14 10:38:23 +03:00
parent 76cb942556
commit 7f73ad8227

View File

@@ -116,7 +116,7 @@ public class DispositionScheduleImpl implements DispositionSchedule,
Boolean value = (Boolean)nodeService.getProperty(dispositionDefinitionNodeRef, PROP_RECORD_LEVEL_DISPOSITION);
if (value != null)
{
return value.booleanValue();
return value;
}
return false;
}