mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed major issues reported by sonar (Hide Utility Class Constructor)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,11 @@ import java.util.Map;
|
||||
|
||||
/* package scope */ class PivotUtil
|
||||
{
|
||||
private PivotUtil()
|
||||
{
|
||||
// Will not be called
|
||||
}
|
||||
|
||||
static Map<String, List<String>> getPivot(Map<String, List<String>> source)
|
||||
{
|
||||
|
||||
|
@@ -35,6 +35,11 @@ import org.alfresco.service.namespace.QName;
|
||||
*/
|
||||
public class PoliciesUtil
|
||||
{
|
||||
private PoliciesUtil()
|
||||
{
|
||||
// Will not be called
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all aspect and node type qualified names
|
||||
*
|
||||
|
@@ -34,6 +34,11 @@ public class RmDictionaryWebServiceUtils
|
||||
private static final String SITE_ID = "siteId";
|
||||
private static final String SITE_PRESET = "rm-site-dashboard";
|
||||
|
||||
private RmDictionaryWebServiceUtils()
|
||||
{
|
||||
// Will not be called
|
||||
}
|
||||
|
||||
public static boolean isRmSite(WebScriptRequest req, SiteService siteService)
|
||||
{
|
||||
boolean isRmSite = false;
|
||||
|
@@ -42,6 +42,11 @@ import org.apache.commons.lang.StringUtils;
|
||||
*/
|
||||
public class RequestInfoUtils
|
||||
{
|
||||
private RequestInfoUtils()
|
||||
{
|
||||
// Will not be called
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to get the service registry in order to call services
|
||||
*
|
||||
|
Reference in New Issue
Block a user