← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18241: Removed debug code

 

------------------------------------------------------------
revno: 18241
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-02-12 16:18:51 +0100
message:
  Removed debug code
modified:
  dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java
  dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/listener/DataValueSMSListener.java
  dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/program/DefaultProgramValidationService.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-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java	2015-02-05 07:52:28 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java	2015-02-12 15:18:51 +0000
@@ -296,7 +296,6 @@
         /* disabled for 2.18 release
         if ( !validationViolations.isEmpty() )
         {
-            System.err.println( "violations: " + validationViolations );
             summaryType.getImportConflicts().add(
                 new ImportConflict( ImportUtils.getDisplayName( object ), "Validation Violations: " + validationViolations ) );
 
@@ -414,7 +413,6 @@
         /* disabled for 2.18 release
         if ( !validationViolations.isEmpty() )
         {
-            System.err.println( "violations: " + validationViolations );
             summaryType.getImportConflicts().add(
                 new ImportConflict( ImportUtils.getDisplayName( object ), "Validation Violations: " + validationViolations ) );
 

=== modified file 'dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/listener/DataValueSMSListener.java'
--- dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/listener/DataValueSMSListener.java	2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/listener/DataValueSMSListener.java	2015-02-12 15:18:51 +0000
@@ -484,8 +484,6 @@
                 String targetDataElementId = formula.substring( 1, formula.length() );
                 String operation = String.valueOf( formula.charAt( 0 ) );
 
-                System.out.println( "Operation: " + operation );
-
                 DataElement targetDataElement = dataElementService.getDataElement( Integer
                     .parseInt( targetDataElementId ) );
 

=== modified file 'dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/program/DefaultProgramValidationService.java'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/program/DefaultProgramValidationService.java	2015-01-27 13:45:40 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/program/DefaultProgramValidationService.java	2015-02-12 15:18:51 +0000
@@ -140,8 +140,7 @@
                 + entityInstanceDataValue.getDataElement().getUid();
             entityInstanceDataValueMap.put( key, entityInstanceDataValue.getValue() );
         }
-System.err.println("\n\n\n ==== entityInstanceDataValueMap : " + entityInstanceDataValueMap );
-System.err.println("\n validation : " + validation );
+        
         // ---------------------------------------------------------------------
         // Validate rules
         // ---------------------------------------------------------------------