← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2136: Removed the debugging code

 

------------------------------------------------------------
revno: 2136
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2010-11-22 17:53:47 +0700
message:
  Removed the debugging code
modified:
  dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/databrowser/jdbc/StatementManagerDataBrowserStore.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-administration/src/main/java/org/hisp/dhis/databrowser/jdbc/StatementManagerDataBrowserStore.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/databrowser/jdbc/StatementManagerDataBrowserStore.java	2010-11-22 10:45:31 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/databrowser/jdbc/StatementManagerDataBrowserStore.java	2010-11-22 10:53:47 +0000
@@ -1,7 +1,5 @@
 package org.hisp.dhis.databrowser.jdbc;
 
-import java.io.BufferedWriter;
-import java.io.FileWriter;
 import java.sql.Connection;
 import java.sql.ResultSet;
 import java.sql.SQLException;
@@ -547,19 +545,6 @@
         {
             TimeUtils.start();
 
-            try
-            {
-                FileWriter stream = new FileWriter( "C:\\drill_down.sql" );
-                BufferedWriter out = new BufferedWriter( stream );
-
-                out.write( sqlsbDescentdants.toString() );
-                out.close();
-            }
-            catch ( Exception e )
-            {
-                System.err.println( "COULD NOT WRITE A FILE" );
-            }
-
             ResultSet resultSet = this.getScrollableResult( sqlsbDescentdants.toString(), holder );
 
             table.addQueryTime( TimeUtils.getMillis() );