You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/11/15 23:02:06 UTC

svn commit: r1202440 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java

Author: erwan
Date: Tue Nov 15 22:02:06 2011
New Revision: 1202440

URL: http://svn.apache.org/viewvc?rev=1202440&view=rev
Log:
reorganizing commments so that there are no more one-word lines

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java?rev=1202440&r1=1202439&r2=1202440&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/search/ContentDocument.java Tue Nov 15 22:02:06 2011
@@ -78,11 +78,9 @@ public class ContentDocument {
         doc = new Document();
         String contentId = content.getString("contentId");
         doc.add(new Field("contentId", contentId, Store.YES, Index.NOT_ANALYZED, TermVector.NO));
-        // Add the last modified date of the file a field named "modified". Use
-        // a
+        // Add the last modified date of the file a field named "modified". Use a
         // Keyword field, so that it's searchable, but so that no attempt is
-        // made
-        // to tokenize the field into words.
+        // made to tokenize the field into words.
         Timestamp modDate = (Timestamp) content.get("lastModifiedDate");
         if (modDate == null) {
             modDate = (Timestamp) content.get("createdDate");