From 8393634c7af7b5de14b8caa3cfd69917d3f9fa7d Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Mon, 21 Sep 2015 17:49:11 +0200
Subject: [PATCH] Delete unused method
---
.../eu/etaxonomy/taxeditor/editor/EditorUtil.java | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java
index e87142c40..62f5443aa 100644
--- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java
+++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java
@@ -416,20 +416,6 @@ public class EditorUtil extends AbstractUtility {
}
}
- /**
- * Iterates recursively over all originals having the given specimen as a derivate.
- * If a {@link FieldUnit} is found it is returned
- * @param specimen the start element for which the originals are iterated recursively
- * @return the FieldUnit if found, null
otherwise
- */
- public static FieldUnit getFieldUnit(SpecimenOrObservationBase> specimen){
- SpecimenOrObservationBase> topMostDerivate = getTopMostDerivate(specimen);
- if(topMostDerivate instanceof FieldUnit) {
- return (FieldUnit) topMostDerivate;
- }
- return null;
- }
-
/**
* If the current selection is a single {@link TreeNode} it will be returned.
* @param selection the selection to check
--
2.34.1