------------------------------------------------------------
revno: 13696
committer: Tran Chau <[email protected]>
branch nick: dhis2
timestamp: Mon 2014-01-13 16:22:56 +0700
message:
  Clean up code
modified:
  
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientAttributeService.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-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientAttributeService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientAttributeService.java	2014-01-13 03:25:30 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientAttributeService.java	2014-01-13 09:22:56 +0000
@@ -132,31 +132,20 @@
 
     public Collection<PatientAttribute> getPatientAttributesWithoutProgram()
     {
-        System.out.println( "\n\n === \n 1" );
         Collection<PatientAttribute> patientAttributes = patientAttributeStore.getAll();
-        System.out.println( "\n 2" );
         Iterator<PatientAttribute> iterator = patientAttributes.iterator();
-        System.out.println( "\n 3" );
 
         Collection<Program> programs = programService.getAllPrograms();
-        System.out.println( "\n 4" );
         while ( iterator.hasNext() )
         {
             for ( Program program : programs )
             {
-                System.out.println( "\n ****** 5" );
-
                 PatientAttribute attribute = iterator.next();
-                System.out.println( "\n 6" );
-
-
                 if ( program.getAttributes().contains( attribute ) )
                 {
                     iterator.remove();
                     break;
                 }
-                System.out.println( "\n 7" );
-
             }
         }
 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to