Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
cleanup of About contents, fixed null of Lucene version
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryKey committed Nov 29, 2013
1 parent 5e2b08e commit 595f160
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/getopt/luke/Luke.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package org.getopt.luke;

import org.apache.lucene.LucenePackage;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.core.SimpleAnalyzer;
import org.apache.lucene.analysis.core.StopAnalyzer;
Expand Down Expand Up @@ -4939,7 +4938,7 @@ public void deleteDocs(Object sTable) {
public void actionAbout() {
Object about = addComponent(this, "/xml/about.xml", null, null);
Object lver = find(about, "lver");
setString(lver, "text", "Lucene version: " + LucenePackage.get().getImplementationVersion());
setString(lver, "text", "Lucene version: " + Version.LUCENE_45.name());
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/xml/about.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<dialog modal="true" name="about" columns="1" gap="8" icon="/img/luke.gif" text=" About" left="4" right="4" bottom="4" top="4" close="remove(about)">
<label halign="center" valign="center" text="v 4.0_BETA (2012-08-22)" font="10" icon="/img/luke-big.gif"/>
<label halign="center" valign="center" text="v 4.5.0 (2013-11-29)" font="10" icon="/img/luke-big.gif"/>
<button type="link" tooltip="Go to Luke home page" action="goUrl(this)" halign="center" property="url=http://www.getopt.org/luke" foreground="#5aaa88" text="Lucene Index Toolbox" font="18 bold"/>
<label halign="center" font="13" text="Created by Andrzej Bialecki &lt;[email protected]&gt;"/>
<label halign="center" font="13" text="Maintained by Dmitry Kan &lt;[email protected]&gt;"/>
<label halign="center" font="italic 11" text="In tribute to the creators and developers of the best Java search library."/>
<label halign="center" font="13" text="Maintained and further developed by Dmitry Kan &lt;[email protected]&gt;"/>
<label halign="center" font="italic 11" text="GUI client of the best Java search library"/>
<button type="link" icon="/img/lucene.gif" tooltip="Go to Lucene home page" action="goUrl(this)" halign="center" property="url=http://lucene.apache.org/" foreground="#5aaa88" text="Apache Lucene - home page"/>
<label halign="center" font="11" name="lver" text=""/>
<label halign="center" font="11" name="lver" text="4.5.0"/>
<textarea columns="55" rows="3" editable="false" font="10" border="false" wrap="true" text="Luke is distributed under Apache Software License. Please see http://www.apache.org/LICENSE-2.0 for details.&#10;This software includes Thinlet library (http://thinlet.sourceforge.net)"/>
</dialog>

0 comments on commit 595f160

Please sign in to comment.