dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06672
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1850: Removed unused code
------------------------------------------------------------
revno: 1850
committer: Lars <larshelg@larshelg-laptop>
branch nick: trunk
timestamp: Wed 2010-07-14 15:27:39 +0200
message:
Removed unused code
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/DefaultImportService.java
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/zip/ZipAnalyzer.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/DefaultImportService.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/DefaultImportService.java 2010-07-13 00:31:39 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/DefaultImportService.java 2010-07-14 13:27:39 +0000
@@ -33,26 +33,23 @@
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
-
import java.io.InputStream;
-import java.util.logging.Level;
-import java.util.logging.Logger;
import java.util.zip.GZIPInputStream;
import java.util.zip.ZipFile;
+
import javax.xml.namespace.QName;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
+
import org.amplecode.staxwax.factory.XMLFactory;
import org.amplecode.staxwax.reader.XMLReader;
-
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.hisp.dhis.common.ProcessState;
import org.hisp.dhis.importexport.dxf.converter.DXFConverter;
-import org.hisp.dhis.common.ProcessState;
import org.hisp.dhis.importexport.xml.XMLPreConverter;
import org.hisp.dhis.importexport.zip.ZipAnalyzer;
-import org.hisp.dhis.security.spring.AbstractSpringSecurityCurrentUserService;
import org.hisp.dhis.system.process.OutputHolderState;
import org.hisp.dhis.system.util.StreamUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -69,18 +66,13 @@
// -------------------------------------------------------------------------
// Dependencies
// -------------------------------------------------------------------------
+
@Autowired
private XMLPreConverter preConverter;
@Autowired
private DXFConverter converter;
- @Autowired
- private ZipAnalyzer zipAnalyzer;
-
- @Autowired
- private AbstractSpringSecurityCurrentUserService currentUserService;
-
// -------------------------------------------------------------------------
// ImportService implementation
// -------------------------------------------------------------------------
=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/zip/ZipAnalyzer.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/zip/ZipAnalyzer.java 2010-07-13 12:59:44 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/zip/ZipAnalyzer.java 2010-07-14 13:27:39 +0000
@@ -35,8 +35,6 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Component;
/**
@@ -45,9 +43,6 @@
@Component("zipAnalyzer")
public class ZipAnalyzer
{
-
- private final static Log log = LogFactory.getLog( ZipAnalyzer.class );
-
/**
* This is a list of common data streams found in zip packages
*/