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 D4B6A200B36 for ; Wed, 22 Jun 2016 01:21:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D30B7160A63; Tue, 21 Jun 2016 23:21:05 +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 2732B160A4F for ; Wed, 22 Jun 2016 01:21:05 +0200 (CEST) Received: (qmail 5008 invoked by uid 500); 21 Jun 2016 23:21:04 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 4999 invoked by uid 99); 21 Jun 2016 23:21:04 -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; Tue, 21 Jun 2016 23:21:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 27C95E020A; Tue, 21 Jun 2016 23:21:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ggregory@apache.org To: commits@commons.apache.org Message-Id: <20934a10f02f4c75810a2cd66b45119e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: commons-crypto git commit: Statement unnecessarily nested within else clause. Date: Tue, 21 Jun 2016 23:21:04 +0000 (UTC) archived-at: Tue, 21 Jun 2016 23:21:06 -0000 Repository: commons-crypto Updated Branches: refs/heads/master be447dbbb -> a61d69675 Statement unnecessarily nested within else clause. Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/a61d6967 Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/a61d6967 Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/a61d6967 Branch: refs/heads/master Commit: a61d69675a6fa0db15405deb3a721e97e5beff83 Parents: be447db Author: ggregory Authored: Tue Jun 21 16:21:02 2016 -0700 Committer: ggregory Committed: Tue Jun 21 16:21:02 2016 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/commons/crypto/utils/Utils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/a61d6967/src/main/java/org/apache/commons/crypto/utils/Utils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/crypto/utils/Utils.java b/src/main/java/org/apache/commons/crypto/utils/Utils.java index 3fa3a18..38ea8e8 100644 --- a/src/main/java/org/apache/commons/crypto/utils/Utils.java +++ b/src/main/java/org/apache/commons/crypto/utils/Utils.java @@ -389,8 +389,7 @@ public final class Utils { if (enableFallback == null || enableFallback.isEmpty()) { return ConfigurationKeys .COMMONS_CRYPTO_ENABLE_FALLBACK_ON_NATIVE_FAILED_DEFAULT; - } else { - return Boolean.valueOf(enableFallback); } + return Boolean.valueOf(enableFallback); } }