diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/IHibernateSearchDAO.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/IHibernateSearchDAO.java index ee2f8abc1569d1516210e9ae5779a04062ef7a06..06ea43ace77208d4aa796a7076f656fd88e12c9b 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/IHibernateSearchDAO.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/dataaccess/IHibernateSearchDAO.java @@ -34,7 +34,7 @@ public interface IHibernateSearchDAO * Searches in entities of type <var>entityClass</var> for given <var>searchTerm</var> using * all the indexed fields. * - * @param searchTerm could be something like "<code>code:C11 AND registrator.lastName:System User</code>". + * @param searchTerm could be something like "<code>C11 AND System User</code>". */ public <T extends IMatchingEntity> List<SearchHit> searchEntitiesByTerm( final Class<T> entityClass, final String searchTerm) throws DataAccessException; diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/ByteArrayBridge.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/ByteArrayBridge.java deleted file mode 100644 index 33f91a56842ff71ea5934aaddb26d42f888028e1..0000000000000000000000000000000000000000 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/ByteArrayBridge.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2008 ETH Zuerich, CISD - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package ch.systemsx.cisd.openbis.generic.shared.dto; - -import org.hibernate.search.bridge.builtin.StringBridge; - -/** - * A {@link StringBridge} extension for handling <i>bytes</i>. - * - * @author Christian Ribeaud - */ -public final class ByteArrayBridge extends StringBridge -{ - - // - // StringBridge - // - - @Override - public final String objectToString(final Object object) - { - return new String((byte[]) object); - } -}