Author: tmortagne Date: 2008-01-15 10:57:42 +0100 (Tue, 15 Jan 2008) New Revision: 6840
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexRebuilder.java Log: Fix Lucene init broken by previous "codestyle" patch. Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexRebuilder.java =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexRebuilder.java 2008-01-15 09:35:34 UTC (rev 6839) +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/lucene/IndexRebuilder.java 2008-01-15 09:57:42 UTC (rev 6840) @@ -53,9 +53,9 @@ this.indexUpdater = indexUpdater; if (indexUpdater.needInitialBuild) { + int retval = this.rebuildIndex(context); if (LOG.isInfoEnabled()) { - LOG.info("Initializing Lucene search index, " + this.rebuildIndex(context) - + " documents found"); + LOG.info("Initializing Lucene search index, " + retval + " documents found"); } } } _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications