pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1795553 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java
Date Thu, 18 May 2017 19:12:12 GMT
Author: tilman
Date: Thu May 18 19:12:12 2017
New Revision: 1795553

URL: http://svn.apache.org/viewvc?rev=1795553&view=rev
Log:
PDFBOX-3794: remove field from hash calculation because it is rather a cached value

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java?rev=1795553&r1=1795552&r2=1795553&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java Thu
May 18 19:12:12 2017
@@ -863,7 +863,6 @@ public final class TextPosition
         result = 31 * result + fontSizePt;
         result = 31 * result + Arrays.hashCode(widths);
         result = 31 * result + (unicode != null ? unicode.hashCode() : 0);
-        result = 31 * result + Float.floatToIntBits(direction);
         return result;
     }
 }
\ No newline at end of file



Mime
View raw message