#5849 Show class name + uuid for newly created empty entities in bulk
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 19 Jul 2016 09:54:17 +0000 (11:54 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 19 Jul 2016 10:52:38 +0000 (12:52 +0200)
editors

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorLineDisplay.java

index 613ee50fb72e90d917b811439686212deb5f7181..e1e9867976655894a15185580876965f80a3a950 100644 (file)
@@ -162,16 +162,7 @@ public class BulkEditorLineDisplay implements ILineDisplayStrategy {
        /** {@inheritDoc} */
        @Override
     public String getEmptyCacheMessage(Object entity) {
-               if (entity instanceof Reference) {
-                       return "No reference title cache";
-               }
-               if (entity instanceof TaxonNameBase) {
-                       return "No name title cache";
-               }
-               if (entity instanceof AgentBase) {
-                       return "No title cache";
-               }
-               return "";
+               return entity.toString();
        }
 
        /* (non-Javadoc)