Project

General

Profile

« Previous | Next » 

Revision 5957

Added by berkley over 13 years ago

fixed bug where the wrong checksum alg got written to the db

View differences:

IdentifierManager.java
689 689
    {
690 690
        DBConnection dbConn = null;
691 691
        int serialNumber = -1;
692
        
692 693
        try {
693 694
            // Get a database connection from the pool
694 695
            dbConn = 
......
971 972
                Checksum cs = new Checksum();
972 973
                cs.setValue(checksum);
973 974
                cs.setAlgorithm(ChecksumAlgorithm.valueOf(checksumAlgorithm));
975
                //cs.setAlgorithm(ChecksumAlgorithm.convert(checksumAlgorithm));
974 976
                oi.setChecksum(cs);
975 977
                
976 978
                ObjectFormat oFormat = ObjectFormat.convert(format);

Also available in: Unified diff