=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/UsernameSaltSource.java' --- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/UsernameSaltSource.java 2011-12-26 10:07:59 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/UsernameSaltSource.java 2012-06-24 06:15:05 +0000 @@ -44,7 +44,7 @@ { /** * Creates and returns a salt based on the given username. - * + * * @param username * the username to base the salt on. * @return a salt based on the given username. === modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/xml/converter/DataValueConverter.java' --- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/xml/converter/DataValueConverter.java 2011-12-26 10:07:59 +0000 +++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/xml/converter/DataValueConverter.java 2012-06-24 06:15:05 +0000 @@ -27,19 +27,6 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -import static org.hisp.dhis.system.util.CsvUtils.NEWLINE; -import static org.hisp.dhis.system.util.CsvUtils.SEPARATOR_B; -import static org.hisp.dhis.system.util.CsvUtils.csvEncode; -import static org.hisp.dhis.system.util.CsvUtils.getCsvEndValue; -import static org.hisp.dhis.system.util.CsvUtils.getCsvValue; - -import java.io.BufferedReader; -import java.io.IOException; -import java.util.Collection; -import java.util.Map; -import java.util.zip.ZipEntry; -import java.util.zip.ZipOutputStream; - import org.amplecode.quick.BatchHandler; import org.amplecode.quick.StatementManager; import org.hisp.dhis.aggregation.AggregatedDataValueService; @@ -48,11 +35,7 @@ import org.hisp.dhis.dataelement.DataElementCategoryService; import org.hisp.dhis.datavalue.DataValue; import org.hisp.dhis.datavalue.DeflatedDataValue; -import org.hisp.dhis.importexport.CSVConverter; -import org.hisp.dhis.importexport.ExportParams; -import org.hisp.dhis.importexport.ImportDataValue; -import org.hisp.dhis.importexport.ImportObjectService; -import org.hisp.dhis.importexport.ImportParams; +import org.hisp.dhis.importexport.*; import org.hisp.dhis.importexport.analysis.ImportAnalyser; import org.hisp.dhis.importexport.importer.DataValueImporter; import org.hisp.dhis.organisationunit.OrganisationUnit; @@ -62,6 +45,15 @@ import org.hisp.dhis.system.util.MimicingHashMap; import org.hisp.dhis.system.util.StreamUtils; +import java.io.BufferedReader; +import java.io.IOException; +import java.util.Collection; +import java.util.Map; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +import static org.hisp.dhis.system.util.CsvUtils.*; + /** * @author Lars Helge Overland * @version $Id$ @@ -245,7 +237,9 @@ if ( value != null ) { value = value.replaceAll( "\"", "" ); - value = value.replace( ".", "" ); + //FIXME We need to have more robust handling of values + //Import them as is for now. + //value = value.replace( ".", "" ); } return value;