RM-6941 added slf4j and test [ags]

This commit is contained in:
bdwiwedi
2021-08-12 12:37:04 +05:30
parent 5752ddedbe
commit e1dc259fd2

View File

@@ -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;