dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #09293
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2422: Minor fix
------------------------------------------------------------
revno: 2422
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2010-12-25 14:58:45 +0100
message:
Minor fix
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/csv/exporter/DefaultCSVExportService.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-importexport/src/main/java/org/hisp/dhis/importexport/csv/exporter/DefaultCSVExportService.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/csv/exporter/DefaultCSVExportService.java 2010-11-12 17:58:03 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/csv/exporter/DefaultCSVExportService.java 2010-12-25 13:58:45 +0000
@@ -33,7 +33,6 @@
import java.io.InputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
-import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import org.hibernate.SessionFactory;
@@ -48,9 +47,7 @@
*/
public class DefaultCSVExportService
implements ExportService
-{
- private static final String ZIP_ENTRY_NAME = "Export.csv";
-
+{
// -------------------------------------------------------------------------
// Dependencies
// -------------------------------------------------------------------------
@@ -88,8 +85,6 @@
ZipOutputStream zipOut = new ZipOutputStream( new BufferedOutputStream( out ) );
- zipOut.putNextEntry( new ZipEntry( ZIP_ENTRY_NAME ) );
-
// -----------------------------------------------------------------
// Writes to one end of the pipe
// -----------------------------------------------------------------