mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6941 added slf4j and test [ags]
This commit is contained in:
@@ -68,19 +68,13 @@ public class FreezeServiceImpl extends ServiceBaseImpl
|
|||||||
implements FreezeService,
|
implements FreezeService,
|
||||||
RecordsManagementModel
|
RecordsManagementModel
|
||||||
{
|
{
|
||||||
/**
|
/** I18N */
|
||||||
* I18N
|
|
||||||
*/
|
|
||||||
private static final String MSG_HOLD_NAME = "rm.hold.name";
|
private static final String MSG_HOLD_NAME = "rm.hold.name";
|
||||||
|
|
||||||
/**
|
/** File Plan Service */
|
||||||
* File Plan Service
|
|
||||||
*/
|
|
||||||
private FilePlanService filePlanService;
|
private FilePlanService filePlanService;
|
||||||
|
|
||||||
/**
|
/** Hold service */
|
||||||
* Hold service
|
|
||||||
*/
|
|
||||||
private HoldService holdService;
|
private HoldService holdService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -379,10 +373,7 @@ public class FreezeServiceImpl extends ServiceBaseImpl
|
|||||||
if (isFrozen(nodeRef))
|
if (isFrozen(nodeRef))
|
||||||
{
|
{
|
||||||
Serializable property = nodeService.getProperty(nodeRef, PROP_FROZEN_AT);
|
Serializable property = nodeService.getProperty(nodeRef, PROP_FROZEN_AT);
|
||||||
if (property != null)
|
if (property != null) { return (Date) property; }
|
||||||
{
|
|
||||||
return (Date) property;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@@ -399,10 +390,7 @@ public class FreezeServiceImpl extends ServiceBaseImpl
|
|||||||
if (isFrozen(nodeRef))
|
if (isFrozen(nodeRef))
|
||||||
{
|
{
|
||||||
Serializable property = nodeService.getProperty(nodeRef, PROP_FROZEN_BY);
|
Serializable property = nodeService.getProperty(nodeRef, PROP_FROZEN_BY);
|
||||||
if (property != null)
|
if (property != null) { return (String) property; }
|
||||||
{
|
|
||||||
return (String) property;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user