lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r1039962 - /lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/GetTermInfo.java
Date Sun, 28 Nov 2010 22:24:00 GMT
I would suggest in such cases to let the JVM produce the class name:
GetTermInfo.class.getName() [or if not static using tis.getClass().getName()].

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: koji@apache.org [mailto:koji@apache.org]
> Sent: Sunday, November 28, 2010 11:16 PM
> To: commits@lucene.apache.org
> Subject: svn commit: r1039962 -
> /lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/G
> etTermInfo.java
> 
> Author: koji
> Date: Sun Nov 28 22:16:29 2010
> New Revision: 1039962
> 
> URL: http://svn.apache.org/viewvc?rev=1039962&view=rev
> Log:
> LUCENE-2393: fix package name in usage message
> 
> Modified:
> 
> lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/G
> etTermInfo.java
> 
> Modified:
> lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/G
> etTermInfo.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/misc/src/ja
> va/org/apache/lucene/misc/GetTermInfo.java?rev=1039962&r1=1039961&r2
> =1039962&view=diff
> ==========================================================
> ====================
> ---
> lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/G
> etTermInfo.java (original)
> +++
> lucene/dev/trunk/lucene/contrib/misc/src/java/org/apache/lucene/misc/G
> etTermInfo.java Sun Nov 28 22:16:29 2010
> @@ -59,6 +59,6 @@ public class GetTermInfo {
>    private static void usage() {
>      System.out
>          .println("\n\nusage:\n\t"
> -            + "java org.apache.lucene.index.GetTermInfo <index dir> field term
> \n\n");
> +            + "java org.apache.lucene.misc.GetTermInfo <index dir> field term
> \n\n");
>    }
>  }
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message