pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java?rev=1795552&r1=1795551&r2=1795552&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/TextPosition.java Thu May 18
19:12:07 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;
     }
 }



Mime
View raw message