cleanup
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 15 May 2018 23:34:16 +0000 (01:34 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 15 May 2018 23:34:16 +0000 (01:34 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/VerbatimTimePeriodElement.java

index 8a5ba8a3fb6e5154e7e96d87c2416ff44a8fc6ec..90b5e2d486953ea17464b59fcad4a6600b4dcf8a 100644 (file)
@@ -485,7 +485,7 @@ public abstract class AbstractFormSection<ENTITY> extends Section implements ISe
         */
        @Override
     public Set<Control> getControls() {
-               Set<Control> controls = new HashSet<Control>();
+               Set<Control> controls = new HashSet<>();
 
                for (Control control : getChildren()) {
                        controls.add(control);
index 974f177d739e76ce1ad31786319c1ab10b8d0383..b63297ae386fb229802819a24f77e3012944f99f 100755 (executable)
@@ -10,7 +10,6 @@ package eu.etaxonomy.taxeditor.ui.element;
 
 import org.eclipse.ui.forms.widgets.Section;
 
-import eu.etaxonomy.cdm.model.common.TimePeriod;
 import eu.etaxonomy.cdm.model.common.VerbatimTimePeriod;
 
 /**