pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
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 GMT
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 )
     {



Mime
View raw message