Project

General

Profile

Revision 485377e3

ID485377e3343cec1e47d67a486c945c3abb55cff7
Parent 68df4d39
Child 639679e0

Added by Andreas Müller almost 6 years ago

bugfix for DOI handling

View differences:

cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/DOI.java
147 147
		
148 148
		
149 149
		//now we should have the pure doi
150
		if (doi.length() > 1000){
150
		if (doi.length() > MAX_LENGTH){
151 151
			//for persistence reason we currently restrict the length of DOIs to 1000
152 152
			throw new IllegalArgumentException("DOIs may have a maximum length of 1000 in the CDM.");
153 153
		}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)