Cleaning up ProtologueSection #5638
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 24 May 2016 20:33:37 +0000 (22:33 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 24 May 2016 20:33:37 +0000 (22:33 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/ProtologueSection.java

index 05a117bd660c5eb14c1aea07f11f0b78e2e2ac2b..ebc15fbe360c99d1ad8f9679ff712aa0054707aa 100644 (file)
@@ -33,7 +33,6 @@ import eu.etaxonomy.taxeditor.ui.section.ITaxonBaseDetailSection;
  *
  * @author n.hoffmann
  * @created Nov 5, 2009
  *
  * @author n.hoffmann
  * @created Nov 5, 2009
- * @version 1.0
  */
 public class ProtologueSection extends AbstractEntityCollectionSection<TaxonNameBase, DescriptionElementBase> implements ITaxonBaseDetailSection{
 
  */
 public class ProtologueSection extends AbstractEntityCollectionSection<TaxonNameBase, DescriptionElementBase> implements ITaxonBaseDetailSection{
 
@@ -130,18 +129,12 @@ public class ProtologueSection extends AbstractEntityCollectionSection<TaxonName
                if (name == null){
                        return result;
                }
                if (name == null){
                        return result;
                }
-//             if(name.getDescriptions().size() == 0){
-//                     name.addDescription(TaxonNameDescription.NewInstance(name));
-//             }
                for (TaxonNameDescription desc : name.getDescriptions()){
                        result.add(desc);
                }
                return result;
        }
 
                for (TaxonNameDescription desc : name.getDescriptions()){
                        result.add(desc);
                }
                return result;
        }
 
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.section.ITaxonDetailSection#getTaxon(eu.etaxonomy.cdm.model.taxon.TaxonBase)
-        */
        @Override
        public TaxonBase getTaxonBase() {
                return taxonBase;
        @Override
        public TaxonBase getTaxonBase() {
                return taxonBase;