ref #6570: minor
authorKatja Luther <k.luther@bgbm.org>
Thu, 11 May 2017 10:35:56 +0000 (12:35 +0200)
committerKatja Luther <k.luther@bgbm.org>
Thu, 11 May 2017 10:35:56 +0000 (12:35 +0200)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/annotatedlineeditor/IEntityCreator.java

index decdc7e22ce7e97c3bf53ee77bbe8628c602b7bb..4601d246c6a6d98e379b16fa7ded4710d4e5031a 100644 (file)
@@ -1,8 +1,8 @@
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -11,8 +11,6 @@ package eu.etaxonomy.taxeditor.annotatedlineeditor;
 
 import java.util.Map;
 
-import eu.etaxonomy.cdm.model.common.ICdmBase;
-
 
 /**
  * <p>IEntityCreator interface.</p>
@@ -22,7 +20,7 @@ import eu.etaxonomy.cdm.model.common.ICdmBase;
  * @version 1.0
  */
 public interface IEntityCreator<T> {
-       
+
        /**
         * <p>createEntity</p>
         *
@@ -31,7 +29,7 @@ public interface IEntityCreator<T> {
         * @return a T object.
         */
        T createEntity(String text);
-       
+
        /**
         * <p>createEntity</p>
         *
@@ -40,21 +38,21 @@ public interface IEntityCreator<T> {
         * @return a T object.
         */
        T createEntity(Object key, String text);
-       
+
        /**
         * Get a map of keys for all objects that can be created by this entity creator
         * along with their string representations.
         *
         * @return a {@link java.util.Map} object.
         */
-       Map<Object, String> getKeyLabelPairs();
-       
+       Map<? extends Object, String> getKeyLabelPairs();
+
        /**
         * Return a flag indicating whether this creator also saves the entities
         *
         * @return true or false
         */
        boolean savesEntity();
-       
+
 
 }