mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4586 Remove a couple of instances of string concatenation in debug logging.
Note that many other instances in this file cannot be improved as the same message is also needed for an exception message.
This commit is contained in:
@@ -1304,7 +1304,7 @@ public class RecordServiceImpl extends BaseBehaviourBean
|
|||||||
behaviourFilter.enableBehaviour();
|
behaviourFilter.enableBehaviour();
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGGER.debug("Rename " + name + " to " + recordName);
|
LOGGER.debug("Rename {} to {}", name, recordName);
|
||||||
|
|
||||||
// add the record aspect
|
// add the record aspect
|
||||||
Map<QName, Serializable> props = new HashMap<QName, Serializable>(2);
|
Map<QName, Serializable> props = new HashMap<QName, Serializable>(2);
|
||||||
@@ -1459,7 +1459,7 @@ public class RecordServiceImpl extends BaseBehaviourBean
|
|||||||
fileFolderService.rename(nodeRef, originalName);
|
fileFolderService.rename(nodeRef, originalName);
|
||||||
|
|
||||||
String name = (String)nodeService.getProperty(nodeRef, ContentModel.PROP_NAME);
|
String name = (String)nodeService.getProperty(nodeRef, ContentModel.PROP_NAME);
|
||||||
LOGGER.debug("Rename " + name + " to " + originalName);
|
LOGGER.debug("Rename {} to {}", name, originalName);
|
||||||
}
|
}
|
||||||
|
|
||||||
// save the information about the rejection details
|
// save the information about the rejection details
|
||||||
|
Reference in New Issue
Block a user