mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Removed warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,6 +42,7 @@ import org.alfresco.service.cmr.repository.StoreRef;
|
||||
import org.alfresco.service.cmr.repository.TemplateService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.UrlUtil;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.springframework.extensions.surf.util.I18NUtil;
|
||||
|
||||
/**
|
||||
@@ -176,7 +177,7 @@ public class DeclarativeReportGenerator extends BaseReportGenerator
|
||||
// build default report name
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(getReportDisplayLabel());
|
||||
if (name != null & !name.isEmpty())
|
||||
if (StringUtils.isNotBlank(name))
|
||||
{
|
||||
builder.append(" - ").append(name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user