Project

General

Profile

« Previous | Next » 

Revision 7020

if serialVersion is null, use defualt value of 0

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1188 1188
		    numberReplicas,
1189 1189
		    sm.getObsoletes() == null ? null:sm.getObsoletes().getValue(),
1190 1190
		    sm.getObsoletedBy() == null ? null: sm.getObsoletedBy().getValue(),
1191
		    sm.getSerialVersion()
1191
		    sm.getSerialVersion() == null ? BigInteger.ZERO: sm.getSerialVersion()
1192 1192
        );
1193 1193
        
1194 1194
        String guid = sm.getIdentifier().getValue();

Also available in: Unified diff