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 17:31:02 UTC

[commons-crypto] branch master updated: Remove redundant modifiers like private on enum constructors.

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 ad89984  Remove redundant modifiers like private on enum constructors.
ad89984 is described below

commit ad899847020955d90c084823598555117254e49c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 21 12:30:57 2020 -0500

    Remove redundant modifiers like private on enum constructors.
---
 src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java | 2 +-
 src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
index 354b96a..cb0ade5 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
@@ -89,7 +89,7 @@ public class CryptoCipherFactory {
          * The private constructor.
          * @param klass the Class of CryptoCipher
          */
-        private CipherProvider(final Class<? extends CryptoCipher> klass) {
+        CipherProvider(final Class<? extends CryptoCipher> klass) {
             this.klass = klass;
             this.className = klass.getName();
         }
diff --git a/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java b/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java
index 30de185..424351c 100644
--- a/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java
+++ b/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java
@@ -120,7 +120,7 @@ public class CryptoRandomFactory {
          * The private constructor.
          * @param klass the Class of CryptoRandom
          */
-        private RandomProvider(final Class<? extends CryptoRandom> klass) {
+        RandomProvider(final Class<? extends CryptoRandom> klass) {
             this.klass = klass;
             this.className = klass.getName();
         }