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 6B484200CB8 for ; Sat, 1 Jul 2017 15:56:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 69EDE160BF8; Sat, 1 Jul 2017 13:56:45 +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 E1132160BD2 for ; Sat, 1 Jul 2017 15:56:44 +0200 (CEST) Received: (qmail 3470 invoked by uid 500); 1 Jul 2017 13:56:44 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 3444 invoked by uid 99); 1 Jul 2017 13:56:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2017 13:56:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9D5CFDFF9F; Sat, 1 Jul 2017 13:56:43 +0000 (UTC) From: jaikiran To: dev@ant.apache.org Reply-To: dev@ant.apache.org References: In-Reply-To: Subject: [GitHub] ant-ivy pull request #48: Generics and Java 7 syntax in osgi and plugins pac... Content-Type: text/plain Message-Id: <20170701135643.9D5CFDFF9F@git1-us-west.apache.org> Date: Sat, 1 Jul 2017 13:56:43 +0000 (UTC) archived-at: Sat, 01 Jul 2017 13:56:45 -0000 Github user jaikiran commented on a diff in the pull request: https://github.com/apache/ant-ivy/pull/48#discussion_r125162592 --- Diff: src/java/org/apache/ivy/plugins/signer/bouncycastle/OpenPGPSignatureGenerator.java --- @@ -161,7 +159,7 @@ private PGPSecretKey readSecretKey(InputStream in) throws IOException, PGPExcept key = k; } if ((keyId != null) - && (Long.valueOf(keyId, 16).longValue() == (k.getKeyID() & MASK))) { + && (Long.valueOf(keyId, 16) == (k.getKeyID() & MASK))) { --- End diff -- I haven't yet found an answer to this in some of the docs I quickly checked. I plan to check the Java specification later tonight. But if you can revert this one line from the rest of the PR, then I will go ahead and merge it since the rest of the PR is fine. I can read up about this a bit more without you having to wait for this PR to be merged. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org