From 0e63f7f892c7fd9867a91adca95b1f540c7f2013 Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Thu, 23 Jun 2011 20:08:32 +0000 Subject: [PATCH] [LMS-2290] minor 1 line improvement - enable data set search in UI SVN: 21831 --- .../application/ui/search/DetailedSearchWindow.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/search/DetailedSearchWindow.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/search/DetailedSearchWindow.java index 40de237caaa..3c4e25afced 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/search/DetailedSearchWindow.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/search/DetailedSearchWindow.java @@ -1,7 +1,6 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.search; import java.util.ArrayList; -import java.util.Collections; import java.util.List; import com.extjs.gxt.ui.client.Style.HideMode; @@ -276,14 +275,6 @@ public class DetailedSearchWindow extends Dialog private static List<AssociatedEntityKind> getAssociatedEntityKinds(final EntityKind sourceEntity) { - // TODO 2011-05-06, Piotr Buczek: after extending data set search use the following - // return AssociatedEntityKind.getAssociatedEntityKinds(sourceEntity) - if (sourceEntity == EntityKind.SAMPLE) - { - return AssociatedEntityKind.getAssociatedEntityKinds(sourceEntity); - } else - { - return Collections.emptyList(); - } + return AssociatedEntityKind.getAssociatedEntityKinds(sourceEntity); } } -- GitLab