mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6836 adding review comments
This commit is contained in:
@@ -130,11 +130,17 @@ public final class AuthenticatedUserRolesDataExtractor extends AbstractDataExtra
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (this == o)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!super.equals(o))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
AuthenticatedUserRolesDataExtractor that = (AuthenticatedUserRolesDataExtractor) o;
|
||||
return Objects.equals(nodeService, that.nodeService) && Objects.equals(filePlanService, that.filePlanService)
|
||||
&& Objects.equals(filePlanRoleService, that.filePlanRoleService);
|
||||
|
@@ -82,11 +82,17 @@ public final class FilePlanIdentifierDataExtractor extends AbstractDataExtractor
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (this == o)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!super.equals(o))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
FilePlanIdentifierDataExtractor that = (FilePlanIdentifierDataExtractor) o;
|
||||
return Objects.equals(nodeService, that.nodeService);
|
||||
}
|
||||
|
@@ -132,11 +132,17 @@ public final class FilePlanNamePathDataExtractor extends AbstractDataExtractor
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (this == o)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!super.equals(o))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
FilePlanNamePathDataExtractor that = (FilePlanNamePathDataExtractor) o;
|
||||
return Objects.equals(nodeService, that.nodeService) && Objects.equals(filePlanService, that.filePlanService)
|
||||
&& Objects.equals(ruleService, that.ruleService);
|
||||
|
@@ -118,11 +118,17 @@ public final class FilePlanNodeRefPathDataExtractor extends AbstractDataExtracto
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if (this == o)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!super.equals(o))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
FilePlanNodeRefPathDataExtractor that = (FilePlanNodeRefPathDataExtractor) o;
|
||||
return Objects.equals(nodeService, that.nodeService) && Objects.equals(filePlanService, that.filePlanService)
|
||||
&& Objects.equals(ruleService, that.ruleService);
|
||||
|
@@ -280,10 +280,10 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
// abstain denies
|
||||
return AccessDecisionVoter.ACCESS_DENIED;
|
||||
}
|
||||
case AccessDecisionVoter.ACCESS_GRANTED:
|
||||
{
|
||||
break;
|
||||
}
|
||||
case AccessDecisionVoter.ACCESS_GRANTED:
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
//do nothing
|
||||
@@ -317,11 +317,11 @@ public class RMEntryVoter extends RMSecurityCommon
|
||||
// abstain denies
|
||||
return AccessDecisionVoter.ACCESS_DENIED;
|
||||
}
|
||||
case AccessDecisionVoter.ACCESS_GRANTED:
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
case AccessDecisionVoter.ACCESS_GRANTED:
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
//do nothing
|
||||
}
|
||||
|
Reference in New Issue
Block a user