From: Patrick Plitzner Date: Mon, 21 Sep 2015 15:49:11 +0000 (+0200) Subject: Delete unused method X-Git-Tag: 3.12.0^2~135^2~4 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/8393634c7af7b5de14b8caa3cfd69917d3f9fa7d Delete unused method --- 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