Revision 379eb203
Added by Andreas Müller over 3 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/validation/constraint/NoDuplicateNamesValidator.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.validation.constraint; |
11 | 10 |
|
12 | 11 |
import java.util.HashSet; |
... | ... | |
28 | 27 |
private static Set<String> includeProperties; |
29 | 28 |
|
30 | 29 |
static { |
31 |
includeProperties = new HashSet<String>();
|
|
30 |
includeProperties = new HashSet<>(); |
|
32 | 31 |
includeProperties.add("genusOrUninomial"); |
33 | 32 |
includeProperties.add("infraGenericEpithet"); |
34 | 33 |
includeProperties.add("specificEpithet"); |
Also available in: Unified diff
cleanup