[jsword-svn] r1775 - trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Sat Mar 8 10:10:14 MST 2008


Author: dmsmith
Date: 2008-03-08 10:10:14 -0700 (Sat, 08 Mar 2008)
New Revision: 1775

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/LuceneIndex.java
   trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/UserMsg.java
Log:
Fix a msg bug.

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/LuceneIndex.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/LuceneIndex.java	2008-03-08 16:45:54 UTC (rev 1774)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/LuceneIndex.java	2008-03-08 17:10:14 UTC (rev 1775)
@@ -115,7 +115,7 @@
         // Indexing the book is a good way to police data errors.
         DataPolice.setBook(book.getBookMetaData());
 
-        Progress job = JobManager.createJob(UserMsg.INDEX_START.toString(), Thread.currentThread(), false);
+        Progress job = JobManager.createJob(UserMsg.INDEX_START.toString(book.getInitials()), Thread.currentThread(), false);
 
         IndexStatus finalStatus = IndexStatus.UNDONE;
 

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/UserMsg.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/UserMsg.java	2008-03-08 16:45:54 UTC (rev 1774)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/index/lucene/UserMsg.java	2008-03-08 17:10:14 UTC (rev 1775)
@@ -32,7 +32,7 @@
  */
 final class UserMsg extends MsgBase
 {
-    static final UserMsg INDEX_START = new UserMsg("LuceneIndexManager.Indexing"); //$NON-NLS-1$
+    static final UserMsg INDEX_START = new UserMsg("LuceneIndex.Indexing"); //$NON-NLS-1$
     static final UserMsg LUCENE_INIT = new UserMsg("LuceneIndex.LuceneInit"); //$NON-NLS-1$
     static final UserMsg SEARCH_FAILED = new UserMsg("LuceneIndex.SearchFailed"); //$NON-NLS-1$
     static final UserMsg OPTIMIZING = new UserMsg("LuceneIndex.Optimizing"); //$NON-NLS-1$




More information about the jsword-svn mailing list