=== 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 getPatientAttributesWithoutProgram() { - System.out.println( "\n\n === \n 1" ); Collection patientAttributes = patientAttributeStore.getAll(); - System.out.println( "\n 2" ); Iterator iterator = patientAttributes.iterator(); - System.out.println( "\n 3" ); Collection 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" ); - } }