mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix sonar Performance - Boxed value is unboxed and then immediately reboxed
This commit is contained in:
@@ -116,7 +116,7 @@ public class DispositionScheduleImpl implements DispositionSchedule,
|
|||||||
Boolean value = (Boolean)nodeService.getProperty(dispositionDefinitionNodeRef, PROP_RECORD_LEVEL_DISPOSITION);
|
Boolean value = (Boolean)nodeService.getProperty(dispositionDefinitionNodeRef, PROP_RECORD_LEVEL_DISPOSITION);
|
||||||
if (value != null)
|
if (value != null)
|
||||||
{
|
{
|
||||||
return value.booleanValue();
|
return value;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user