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 4C18C200C78 for ; Thu, 18 May 2017 21:12:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 49FDA160BB5; Thu, 18 May 2017 19:12:15 +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 B6A7A160B9D for ; Thu, 18 May 2017 21:12:14 +0200 (CEST) Received: (qmail 33193 invoked by uid 500); 18 May 2017 19:12:12 -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 33184 invoked by uid 99); 18 May 2017 19:12:12 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2017 19:12:12 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 5BE173A047B for ; Thu, 18 May 2017 19:12:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@pdfbox.apache.org From: tilman@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170518191212.5BE173A047B@svn01-us-west.apache.org> archived-at: Thu, 18 May 2017 19:12:15 -0000 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