You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/21 03:08:54 UTC

[commons-crypto] branch master updated: Use final.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new f46eef1  Use final.
f46eef1 is described below

commit f46eef153fc8402b68897f83ef4cd0ef4e550570
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 22:08:50 2020 -0500

    Use final.
---
 src/test/java/org/apache/commons/crypto/CryptoTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/crypto/CryptoTest.java b/src/test/java/org/apache/commons/crypto/CryptoTest.java
index 4956c45..ca16fba 100644
--- a/src/test/java/org/apache/commons/crypto/CryptoTest.java
+++ b/src/test/java/org/apache/commons/crypto/CryptoTest.java
@@ -51,7 +51,7 @@ public class CryptoTest {
 		try {
 			Crypto.main(new String[0]);
 		} catch (Throwable e) {
-			Throwable loadingError = Crypto.getLoadingError();
+			final Throwable loadingError = Crypto.getLoadingError();
 			System.err.println("Special case; LoadingError = " + loadingError);
 			throw loadingError != null ? loadingError : e;
 		}
@@ -59,7 +59,7 @@ public class CryptoTest {
 
 	@Test
 	public void testLoadingError() throws Throwable {
-		Throwable loadingError = Crypto.getLoadingError();
+		final Throwable loadingError = Crypto.getLoadingError();
 		if (loadingError != null) {
 			throw loadingError;
 		}