dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00988
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 290: Minor fix
------------------------------------------------------------
revno: 290
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-05-14 10:51:28 +0200
message:
Minor fix
modified:
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/statement/GetReportTableStatement.java
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/statement/GetReportTableStatement.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/statement/GetReportTableStatement.java 2009-04-29 18:52:10 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/reporttable/statement/GetReportTableStatement.java 2009-05-14 08:51:28 +0000
@@ -1,7 +1,5 @@
package org.hisp.dhis.reporttable.statement;
-import java.util.Iterator;
-
import org.hisp.dhis.reporttable.ReportTable;
public class GetReportTableStatement
@@ -23,28 +21,6 @@
@Override
protected void init( ReportTable reportTable )
{
- StringBuffer buffer = new StringBuffer();
-
- buffer.append( "SELECT * FROM " + reportTable.getTableName() );
-
- Iterator<String> indexNameColumns = reportTable.getIndexNameColumns().iterator();
-
- if ( indexNameColumns.hasNext() )
- {
- buffer.append( " ORDER BY " );
-
- while ( indexNameColumns.hasNext() )
- {
- buffer.append( indexNameColumns.next() );
-
- if ( indexNameColumns.hasNext() )
- {
- buffer.append( SEPARATOR );
- }
- }
- }
-
- System.out.println( buffer.toString() );
- statement = buffer.toString();
+ statement = "SELECT * FROM " + reportTable.getTableName();
}
}
--
Trunk
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.