Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B76F718F5F for ; Wed, 25 Nov 2015 13:02:03 +0000 (UTC) Received: (qmail 32180 invoked by uid 500); 25 Nov 2015 13:02:03 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 32122 invoked by uid 500); 25 Nov 2015 13:02:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 32113 invoked by uid 99); 25 Nov 2015 13:02:03 -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; Wed, 25 Nov 2015 13:02:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5A82CE03E8; Wed, 25 Nov 2015 13:02:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Removing redundant comment Date: Wed, 25 Nov 2015 13:02:03 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/master 9db5da883 -> e4361623a Removing redundant comment Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e4361623 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e4361623 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e4361623 Branch: refs/heads/master Commit: e4361623a5d939e761374abc5df2aae27a37bee9 Parents: 9db5da8 Author: Sergey Beryozkin Authored: Wed Nov 25 13:01:48 2015 +0000 Committer: Sergey Beryozkin Committed: Wed Nov 25 13:01:48 2015 +0000 ---------------------------------------------------------------------- .../main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/e4361623/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java index c0bbcba..94e7884 100644 --- a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java +++ b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwk/JwkUtils.java @@ -373,8 +373,6 @@ public final class JwkUtils { return jwk; } public static JsonWebKey fromPublicKey(PublicKey key, Properties props, String algoProp) { - // EC keys can be supported once we figure out how to get a curve name - // from an EC key instance or if a curve property is introduced if (key instanceof RSAPublicKey) { return JwkUtils.fromRSAPublicKey((RSAPublicKey)key, algoProp); } else {