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:
Tuna Aksoy
2014-03-09 22:15:35 +00:00
parent 0ed42e691c
commit 6b74537ad4
4 changed files with 28 additions and 8 deletions

View File

@@ -25,6 +25,11 @@ import java.util.Map;
/* package scope */ class PivotUtil /* package scope */ class PivotUtil
{ {
private PivotUtil()
{
// Will not be called
}
static Map<String, List<String>> getPivot(Map<String, List<String>> source) static Map<String, List<String>> getPivot(Map<String, List<String>> source)
{ {

View File

@@ -35,6 +35,11 @@ import org.alfresco.service.namespace.QName;
*/ */
public class PoliciesUtil public class PoliciesUtil
{ {
private PoliciesUtil()
{
// Will not be called
}
/** /**
* Get all aspect and node type qualified names * Get all aspect and node type qualified names
* *

View File

@@ -34,6 +34,11 @@ public class RmDictionaryWebServiceUtils
private static final String SITE_ID = "siteId"; private static final String SITE_ID = "siteId";
private static final String SITE_PRESET = "rm-site-dashboard"; private static final String SITE_PRESET = "rm-site-dashboard";
private RmDictionaryWebServiceUtils()
{
// Will not be called
}
public static boolean isRmSite(WebScriptRequest req, SiteService siteService) public static boolean isRmSite(WebScriptRequest req, SiteService siteService)
{ {
boolean isRmSite = false; boolean isRmSite = false;

View File

@@ -42,6 +42,11 @@ import org.apache.commons.lang.StringUtils;
*/ */
public class RequestInfoUtils public class RequestInfoUtils
{ {
private RequestInfoUtils()
{
// Will not be called
}
/** /**
* Helper method to get the service registry in order to call services * Helper method to get the service registry in order to call services
* *