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 2022/12/12 12:50:18 UTC

[commons-crypto] 05/05: Format and Javadoc

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

commit 4ca5371380864ebed00e360256a24b778334f764
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Dec 12 07:50:09 2022 -0500

    Format and Javadoc
---
 .../java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java   | 5 ++---
 .../java/org/apache/commons/crypto/random/CryptoRandomFactory.java   | 2 +-
 2 files changed, 3 insertions(+), 4 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 f74f1c5..96578c7 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/CryptoCipherFactory.java
@@ -26,7 +26,7 @@ import org.apache.commons.crypto.utils.ReflectionUtils;
 import org.apache.commons.crypto.utils.Utils;
 
 /**
- * This is the factory class used for creating {@link CryptoCipher} instances.
+ * Creates {@link CryptoCipher} instances.
  */
 public class CryptoCipherFactory {
 
@@ -34,6 +34,7 @@ public class CryptoCipherFactory {
      * The configuration key of the provider class for JCE cipher.
      */
     public static final String JCE_PROVIDER_KEY = Crypto.CONF_PREFIX + "cipher.jce.provider";
+
     /**
      * The configuration key of the CryptoCipher implementation class.
      * <p>
@@ -49,7 +50,6 @@ public class CryptoCipherFactory {
      * order of descending priority.
      * </p>
      */
-
     public static final String CLASSES_KEY = Crypto.CONF_PREFIX + "cipher.classes";
 
     /**
@@ -62,7 +62,6 @@ public class CryptoCipherFactory {
      * props.setProperty(...); // if required by the implementation
      * cipher = CryptoCipherFactory.getInstance(transformation, props);
      * </pre></blockquote>
-     * </p>
      */
     public enum CipherProvider {
 
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 9a60d79..312cb9f 100644
--- a/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java
+++ b/src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java
@@ -26,7 +26,7 @@ import org.apache.commons.crypto.utils.ReflectionUtils;
 import org.apache.commons.crypto.utils.Utils;
 
 /**
- * This is the factory class used for creating {@link CryptoRandom} instances
+ * Creates {@link CryptoRandom} instances
  */
 public class CryptoRandomFactory {