mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed major issues (Simplify Boolean Expression) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89713 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,7 +34,7 @@ public abstract class BaseHoldWebScriptWithContentUnitTest extends BaseHoldWebSc
|
||||
boolean bFirst = true;
|
||||
for (NodeRef nodeRef : nodeRefs)
|
||||
{
|
||||
if (bFirst == false)
|
||||
if (!bFirst)
|
||||
{
|
||||
builder.append(",");
|
||||
}
|
||||
@@ -61,7 +61,7 @@ public abstract class BaseHoldWebScriptWithContentUnitTest extends BaseHoldWebSc
|
||||
boolean bFirst = true;
|
||||
for (NodeRef hold : holds)
|
||||
{
|
||||
if (bFirst == false)
|
||||
if (!bFirst)
|
||||
{
|
||||
builder.append(",");
|
||||
}
|
||||
|
Reference in New Issue
Block a user