Revision a784f00f
Added by Katja Luther about 14 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/match/DefaultMatchStrategy.java | ||
---|---|---|
344 | 344 |
boolean result; |
345 | 345 |
List<IMatchable> list1 = (List<IMatchable>)value1; |
346 | 346 |
List<IMatchable> list2 = (List<IMatchable>)value2; |
347 |
if (list1.size()!= list2.size()){ |
|
347 |
if(list1 == null && list2 == null) { |
|
348 |
return true; |
|
349 |
} |
|
350 |
|
|
351 |
if ((list1 != null && list2 == null) || (list1 == null && list2 != null) || (list1.size()!= list2.size())){ |
|
348 | 352 |
return false; |
349 | 353 |
} |
354 |
|
|
350 | 355 |
result = true; |
351 | 356 |
for (int i = 0; i < list1.size(); i++){ |
352 | 357 |
IMatchable listObject1 = list1.get(i); |
Also available in: Unified diff
merge cate-development2 branch with trunk