Return-Path: X-Original-To: apmail-pdfbox-commits-archive@www.apache.org Delivered-To: apmail-pdfbox-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2C67117C3 for ; Sun, 22 Jun 2014 13:28:34 +0000 (UTC) Received: (qmail 94955 invoked by uid 500); 22 Jun 2014 13:28:34 -0000 Delivered-To: apmail-pdfbox-commits-archive@pdfbox.apache.org Received: (qmail 94926 invoked by uid 500); 22 Jun 2014 13:28:34 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 94917 invoked by uid 99); 22 Jun 2014 13:28:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jun 2014 13:28:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jun 2014 13:28:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C61D023889F1; Sun, 22 Jun 2014 13:28:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1604573 - /pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java Date: Sun, 22 Jun 2014 13:28:10 -0000 To: commits@pdfbox.apache.org From: lehmi@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140622132810.C61D023889F1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lehmi Date: Sun Jun 22 13:28:10 2014 New Revision: 1604573 URL: http://svn.apache.org/r1604573 Log: PDFBOX-2157: deprecate #contains(Point point) as it will be removed in 2.0 Modified: pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java Modified: pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java?rev=1604573&r1=1604572&r2=1604573&view=diff ============================================================================== --- pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java (original) +++ pdfbox/branches/1.8/fontbox/src/main/java/org/apache/fontbox/util/BoundingBox.java Sun Jun 22 13:28:10 2014 @@ -175,7 +175,9 @@ public class BoundingBox * * @param point The point to check * - * @return true If the point is on the edge or inside the rectangle bounds. + * @return true If the point is on the edge or inside the rectangle bounds. + * + * @deprecated use {@link #contains(float, float)} instead */ public boolean contains( Point point ) {