From commits-return-72087-archive-asf-public=cust-asf.ponee.io@commons.apache.org Mon Feb 3 16:59:48 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 965CA18067C for ; Mon, 3 Feb 2020 17:59:48 +0100 (CET) Received: (qmail 77980 invoked by uid 500); 3 Feb 2020 16:59:47 -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 77946 invoked by uid 99); 3 Feb 2020 16:59:47 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2020 16:59:47 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 14738819D0; Mon, 3 Feb 2020 16:59:46 +0000 (UTC) Date: Mon, 03 Feb 2020 16:59:48 +0000 To: "commits@commons.apache.org" Subject: [commons-numbers] 02/02: Use final. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: aherbert@apache.org In-Reply-To: <158074918665.24682.11546171041989050546@gitbox.apache.org> References: <158074918665.24682.11546171041989050546@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: commons-numbers X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 97b24998940dd6607d4e07cbf4f63eca9b16ecde X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20200203165947.14738819D0@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-numbers.git commit 97b24998940dd6607d4e07cbf4f63eca9b16ecde Author: aherbert AuthorDate: Mon Feb 3 16:59:42 2020 +0000 Use final. --- .../src/main/java/org/apache/commons/numbers/complex/Complex.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java index 33e8a4d..cae5385 100644 --- a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java +++ b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java @@ -2829,8 +2829,8 @@ public final class Complex implements Serializable { } // Compute with positive values and determine sign at the end - double x = Math.abs(real); - double y = Math.abs(imaginary); + final double x = Math.abs(real); + final double y = Math.abs(imaginary); // Compute double t;