cleanup
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 3 Jul 2018 08:36:50 +0000 (10:36 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 3 Jul 2018 08:36:50 +0000 (10:36 +0200)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/IterableSynonymyList.java

index 1decc989a37dc07ebe60d2c3bb72922d5480cd9c..c8333c4afd409195a9b1a4ac6c14b26de58f9e18 100644 (file)
@@ -28,7 +28,6 @@ import eu.etaxonomy.cdm.model.taxon.TaxonBase;
  *
  * @author p.ciardelli
  * @created 09.05.2008
- * @version 1.0
  */
 public class IterableSynonymyList implements Iterable<TaxonBase> {
 
@@ -59,7 +58,7 @@ public class IterableSynonymyList implements Iterable<TaxonBase> {
                int index = 0;
 
                public TaxonIterator(Taxon taxon) {
-                       synonymyList = new ArrayList<TaxonBase>();
+                       synonymyList = new ArrayList<>();
                        HomotypicalGroup homotypicGroup = taxon.getHomotypicGroup();
 
                        if (homotypicGroup != null) {