← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21272: Removed expensive log statement

 

------------------------------------------------------------
revno: 21272
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-12-02 18:42:33 +0100
message:
  Removed expensive log statement
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DataApprovalPermissionsEvaluator.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DataApprovalPermissionsEvaluator.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DataApprovalPermissionsEvaluator.java	2015-11-30 03:36:54 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DataApprovalPermissionsEvaluator.java	2015-12-02 17:42:33 +0000
@@ -201,8 +201,6 @@
                 ( ( userLevel >= dataLevel || mayViewLowerLevelUnapprovedData )
                     && organisationUnitService.isInUserHierarchy( da.getOrganisationUnit() ) );
 
-        log.debug( "Org unit " + da.getOrganisationUnit().getName() + " in hierarchy: " + organisationUnitService.isInUserHierarchy( da.getOrganisationUnit() ) );
-
         log.debug( "getPermissions orgUnit " + ( da.getOrganisationUnit() == null ? "(null)" : da.getOrganisationUnit().getName() )
             + " workflow " + workflow.getName()
             + " combo " + da.getAttributeOptionCombo().getName() + " state " + s.name()