From aed363f621afc2b1d5534dbee1736fe94ca2c7be Mon Sep 17 00:00:00 2001 From: Grant Ingersoll Date: Tue, 17 Nov 2009 02:06:43 +0000 Subject: [PATCH] SOLR-1302: append instead of concat git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@881093 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/solr/search/function/distance/HaversineFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/search/function/distance/HaversineFunction.java b/src/java/org/apache/solr/search/function/distance/HaversineFunction.java index 24886d836c2..44b92fa0c4a 100644 --- a/src/java/org/apache/solr/search/function/distance/HaversineFunction.java +++ b/src/java/org/apache/solr/search/function/distance/HaversineFunction.java @@ -143,7 +143,7 @@ public class HaversineFunction extends ValueSource { 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();