Project

General

Profile

« Previous | Next » 

Revision 6131

Added by Chris Jones over 13 years ago

When calling SystemMetadata.getObjectFormat(), return the value of the ObjectFormatIdentifier rather than ObjectFormat.toString() (which no longer returns the fmtid string).

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1221 1221
                sm.getDateSysMetadataModified().getTime(),
1222 1222
                sm.getSubmitter().getValue(), 
1223 1223
                sm.getIdentifier().getValue(),
1224
                sm.getObjectFormat().toString(),
1224
                sm.getObjectFormat().getFmtid().getValue(),
1225 1225
                sm.getSize(),
1226 1226
                replicationAllowed, 
1227 1227
                numberReplicas);

Also available in: Unified diff