From 9e6b48819b74207f8aa98f823a32907247d204ac Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Fri, 20 Mar 2009 15:27:42 +0000
Subject: [PATCH] LMS-791 minor: better javadoc

SVN: 10304
---
 .../shared/dto/hibernate/SearchFieldConstants.java       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/hibernate/SearchFieldConstants.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/hibernate/SearchFieldConstants.java
index b5cf15334f1..ffd031c4805 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/hibernate/SearchFieldConstants.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/hibernate/SearchFieldConstants.java
@@ -16,11 +16,13 @@
 
 package ch.systemsx.cisd.openbis.generic.shared.dto.hibernate;
 
+import org.hibernate.search.annotations.Field;
 import org.hibernate.search.annotations.IndexedEmbedded;
 
 /**
- * Prefixes for indexed fields. Should be used everywhere where {@link IndexedEmbedded} annotation
- * is used, in this way we can make search query syntax independent from bean field names.
+ * Prefixes for indexed fields. Should be used everywhere where {@link IndexedEmbedded} or
+ * {@link Field} annotation is used, in this way we can make search query syntax independent from
+ * bean field names.
  * 
  * @author Tomasz Pylak
  */
@@ -52,7 +54,7 @@ public final class SearchFieldConstants
 
     public static final String PREFIX_ATTACHMENT_FILE_NAME = "attachment name: ";
 
-    public static final String DELETED = "deleted: ";
+    public static final String DELETED = "deleted";
 
     public static final String PERSON_LAST_NAME = "Last Name";
 
@@ -68,6 +70,5 @@ public final class SearchFieldConstants
 
     public static final String PREFIX_PROCEDURE = "";
 
-    // intentionally empty, see class comment
     public static final String PREFIX_EXPERIMENT_ATTACHMENTS = "";
 }
-- 
GitLab