Project

General

Profile

Revision bfc6a038

IDbfc6a0383901c7f9c16d3489d49b8200d4ac1178
Parent 971254b7
Child c56f0e4a

Added by Andreas Müller over 2 years ago

ref #6965 fix empty TimePeriod matching bug

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/match/DefaultMatchStrategy.java
300 300
			if (StringUtils.isBlank((String)object)){
301 301
				return null;
302 302
			}
303
		}else if (object instanceof TimePeriod){
304
		    if ( ((TimePeriod)object).isEmpty()){
305
		        return null;
306
		    }
303 307
		}
304 308
		return HibernateProxyHelper.deproxy(object);
305 309
	}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)