← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9767: Debug code, ugh

 

------------------------------------------------------------
revno: 9767
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-02-07 15:05:29 +0200
message:
  Debug code, ugh
modified:
  dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java
  dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.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-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java	2013-02-07 13:00:56 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java	2013-02-07 13:05:29 +0000
@@ -133,8 +133,8 @@
 
     /**
      * Returns the index of the category option combo dimension as it will appear
-     * in the data value query for data elements. Returns null if this query
-     * does not contain the category option combo dimension.
+     * in the data element query. Returns null if this query does not contain 
+     * the category option combo dimension.
      */
     public Integer getDeQueryCocIndex()
     {

=== modified file 'dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java	2013-02-07 13:00:56 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java	2013-02-07 13:05:29 +0000
@@ -144,8 +144,6 @@
         
         Integer cocIndex = params.getDeQueryCocIndex();
         
-        log.info( "Category option combo index: " + cocIndex );
-        
         // ---------------------------------------------------------------------
         // Headers and meta-data
         // ---------------------------------------------------------------------
@@ -211,8 +209,6 @@
                                 // ---------------------------------------------
 
                                 row.add( cocIndex, null );
-                                
-                                System.out.println("setting coc at indeex " + cocIndex);
                             }
                             
                             grid.addRow();