Fixed major issues reported by sonar (Member name)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-03-18 23:26:53 +00:00
parent 4f3c08a780
commit 82b5c60bb9
2 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ import org.springframework.context.ApplicationContextAware;
public class RMSecurityCommon implements ApplicationContextAware
{
/** No set value */
protected int NOSET_VALUE = -100;
protected static final int NOSET_VALUE = -100;
/** Logger */
private static Log logger = LogFactory.getLog(RMSecurityCommon.class);

View File

@@ -29,7 +29,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
public class Hold
{
/** Hold name */
private String Name;
private String name;
/** Hold node reference */
private NodeRef nodeRef;
@@ -42,7 +42,7 @@ public class Hold
*/
public Hold(String name, NodeRef nodeRef)
{
this.Name = name;
this.name = name;
this.nodeRef = nodeRef;
}
@@ -53,7 +53,7 @@ public class Hold
*/
public String getName()
{
return this.Name;
return this.name;
}
/**