Revision 62315c71
Added by Andreas Müller almost 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/IterableSynonymyList.java | ||
---|---|---|
28 | 28 |
* |
29 | 29 |
* @author p.ciardelli |
30 | 30 |
* @created 09.05.2008 |
31 |
* @version 1.0 |
|
32 | 31 |
*/ |
33 | 32 |
public class IterableSynonymyList implements Iterable<TaxonBase> { |
34 | 33 |
|
... | ... | |
59 | 58 |
int index = 0; |
60 | 59 |
|
61 | 60 |
public TaxonIterator(Taxon taxon) { |
62 |
synonymyList = new ArrayList<TaxonBase>();
|
|
61 |
synonymyList = new ArrayList<>(); |
|
63 | 62 |
HomotypicalGroup homotypicGroup = taxon.getHomotypicGroup(); |
64 | 63 |
|
65 | 64 |
if (homotypicGroup != null) { |
Also available in: Unified diff
cleanup