Fixed isAuditEnabled through stack

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-09-15 14:41:43 +00:00
parent cd7aff5703
commit 29733d3755
3 changed files with 6 additions and 6 deletions

View File

@@ -841,7 +841,7 @@ public class AuditComponentImpl implements AuditComponent
* {@inheritDoc}
* @since 3.2
*/
public boolean isAuditPathDisabled(String applicationName, String path)
public boolean isAuditPathEnabled(String applicationName, String path)
{
ParameterCheck.mandatory("applicationName", applicationName);
ParameterCheck.mandatory("path", path);
@@ -879,12 +879,12 @@ public class AuditComponentImpl implements AuditComponent
if (logger.isDebugEnabled())
{
logger.debug(
"Audit disable check: \n" +
"Audit path enabled check: \n" +
" Application: " + applicationName + "\n" +
" Path: " + path + "\n" +
" Disabling Path: " + disablingPath);
}
return disablingPath != null;
return disablingPath == null;
}
/**