Project

General

Profile

« Previous | Next » 

Revision 892efc69

Added by Andreas Kohlbecker almost 14 years ago

merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/CdmBase.java
300 300
	@Override
301 301
	public int hashCode() {
302 302
		   int hashCode = 7;
303
		   hashCode = 29 * hashCode + this.getUuid().hashCode();
304
		   return hashCode;
303
		   if(this.getUuid() != null) {
304
		       return 29 * hashCode + this.getUuid().hashCode();
305
		   } else {
306
			   return 29 * hashCode;
307
	}
305 308
	}
306 309

  
307 310
	/**

Also available in: Unified diff