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:
Tuna Aksoy
2014-11-01 18:18:54 +00:00
parent f48a8e1c7b
commit 2db964e75c
6 changed files with 24 additions and 24 deletions

View File

@@ -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(",");
}