Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A469200D24 for ; Tue, 10 Oct 2017 04:27:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 18B651609E0; Tue, 10 Oct 2017 02:27:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F05C1609CE for ; Tue, 10 Oct 2017 04:27:16 +0200 (CEST) Received: (qmail 57035 invoked by uid 500); 10 Oct 2017 02:27:15 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 57026 invoked by uid 99); 10 Oct 2017 02:27:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2017 02:27:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 46C72F5D66; Tue, 10 Oct 2017 02:27:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dsmiley@apache.org To: commits@lucene.apache.org Message-Id: <018cc5ed230e41f5a4dcb0f9255085de@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: lucene-solr:branch_7_1: LUCENE-7951: add back Geo3dShape.toString Date: Tue, 10 Oct 2017 02:27:15 +0000 (UTC) archived-at: Tue, 10 Oct 2017 02:27:17 -0000 Repository: lucene-solr Updated Branches: refs/heads/branch_7_1 1f2de94c7 -> c995e02bf LUCENE-7951: add back Geo3dShape.toString (cherry picked from commit 0673c57) Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c995e02b Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c995e02b Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c995e02b Branch: refs/heads/branch_7_1 Commit: c995e02bf5db1ecb46006c488c3138901f08651b Parents: 1f2de94 Author: David Smiley Authored: Mon Oct 9 22:24:06 2017 -0400 Committer: David Smiley Committed: Mon Oct 9 22:27:09 2017 -0400 ---------------------------------------------------------------------- .../java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c995e02b/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java ---------------------------------------------------------------------- diff --git a/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java b/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java index bbe1f3a..eedf7d6 100644 --- a/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java +++ b/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java @@ -159,6 +159,11 @@ public class Geo3dShape implements Shape { } @Override + public String toString() { + return "Geo3D:" + shape.toString(); + } // note: the shape usually prints its planet model + + @Override public boolean equals(Object o) { if (!(o instanceof Geo3dShape)) return false;