lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r490513 - /lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java
Date Wed, 27 Dec 2006 15:22:23 GMT
Author: dnaber
Date: Wed Dec 27 07:22:22 2006
New Revision: 490513

URL: http://svn.apache.org/viewvc?view=rev&rev=490513
Log:
ingore case in the names of commands (Search == search etc.)

Modified:
    lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java

Modified: lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java?view=diff&rev=490513&r1=490512&r2=490513
==============================================================================
--- lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java (original)
+++ lucene/java/trunk/contrib/lucli/src/java/lucli/Lucli.java Wed Dec 27 07:22:22 2006
@@ -283,7 +283,7 @@
 	}
 
 	private int getCommandId(String name, int params) {
-		name.toLowerCase(); //treat uppercase and lower case commands the same
+		name = name.toLowerCase(); //treat uppercase and lower case commands the same
 		Command command = (Command) commandMap.get(name);
 		if (command == null) {
 			return(UNKOWN);



Mime
View raw message