From d1e92abd43bf6c1aa312cacb85540e05cab8e33b Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Mon, 15 Mar 2010 14:18:40 +0000 Subject: [PATCH] minor: remove unused code SVN: 15151 --- .../ui/sample/SampleTypeSelectionWidget.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/sample/SampleTypeSelectionWidget.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/sample/SampleTypeSelectionWidget.java index 8d362af469c..0b9a6b6317e 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/sample/SampleTypeSelectionWidget.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/sample/SampleTypeSelectionWidget.java @@ -33,7 +33,6 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.widget. import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.GWTUtils; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseModificationKind; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SampleType; -import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SampleTypePropertyType; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseModificationKind.ObjectKind; /** @@ -93,23 +92,6 @@ public final class SampleTypeSelectionWidget extends DropDownList<SampleTypeMode return super.tryGetSelected(); } - /** - * Returns the {@link SampleType} currently selected. - * - * @return <code>null</code> if nothing is selected yet. - */ - public final List<SampleTypePropertyType> tryGetSelectedSamplePropertyTypes() - { - final SampleType selectedOrNull = tryGetSelectedSampleType(); - if (selectedOrNull == null) - { - return null; - } else - { - return selectedOrNull.getAssignedPropertyTypes(); - } - } - @Override protected List<SampleTypeModel> convertItems(List<SampleType> result) { -- GitLab