lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r881093 - /lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java
Date Tue, 17 Nov 2009 02:06:43 GMT
Author: gsingers
Date: Tue Nov 17 02:06:43 2009
New Revision: 881093

URL: http://svn.apache.org/viewvc?rev=881093&view=rev
Log:
SOLR-1302: append instead of concat

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java?rev=881093&r1=881092&r2=881093&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/HaversineFunction.java
Tue Nov 17 02:06:43 2009
@@ -143,7 +143,7 @@
 
   public String description() {
     StringBuilder sb = new StringBuilder();
-    sb.append(name() + '(');
+    sb.append(name()).append('(');
     sb.append(x1).append(',').append(y1).append(',').append(x2).append(',').append(y2);
     sb.append(')');
     return sb.toString();



Mime
View raw message