commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject commons-crypto git commit: Make utility classes final
Date Sun, 12 Jun 2016 12:00:06 GMT
Repository: commons-crypto
Updated Branches:
  refs/heads/master 9ad42b177 -> 79488c04c


Make utility classes final


Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/79488c04
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/79488c04
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/79488c04

Branch: refs/heads/master
Commit: 79488c04c3ab73b97ee6d8e1d05f66df1cf9c1c9
Parents: 9ad42b1
Author: Benedikt Ritter <beneritter@gmail.com>
Authored: Sun Jun 12 13:59:58 2016 +0200
Committer: Benedikt Ritter <beneritter@gmail.com>
Committed: Sun Jun 12 13:59:58 2016 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/crypto/utils/IOUtils.java         | 2 +-
 .../java/org/apache/commons/crypto/utils/NativeCodeLoader.java     | 2 +-
 src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java | 2 +-
 src/main/java/org/apache/commons/crypto/utils/Utils.java           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/79488c04/src/main/java/org/apache/commons/crypto/utils/IOUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/utils/IOUtils.java b/src/main/java/org/apache/commons/crypto/utils/IOUtils.java
index 4b0e6ee..d414716 100644
--- a/src/main/java/org/apache/commons/crypto/utils/IOUtils.java
+++ b/src/main/java/org/apache/commons/crypto/utils/IOUtils.java
@@ -26,7 +26,7 @@ import org.apache.commons.logging.Log;
 /**
  * General utility methods for working with IO.
  */
-public class IOUtils {
+public final class IOUtils {
 
     private IOUtils() {
     }

http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/79488c04/src/main/java/org/apache/commons/crypto/utils/NativeCodeLoader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/utils/NativeCodeLoader.java b/src/main/java/org/apache/commons/crypto/utils/NativeCodeLoader.java
index ff12000..1813745 100644
--- a/src/main/java/org/apache/commons/crypto/utils/NativeCodeLoader.java
+++ b/src/main/java/org/apache/commons/crypto/utils/NativeCodeLoader.java
@@ -35,7 +35,7 @@ import org.apache.commons.logging.LogFactory;
  * fallback to either the bundled libcommons-crypto-Linux-i386-32.so or the
  * default java implementations where appropriate.
  */
-public class NativeCodeLoader {
+public final class NativeCodeLoader {
 
     private static final Log LOG = LogFactory.getLog(NativeCodeLoader.class);
 

http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/79488c04/src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java b/src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java
index a24a825..81e0aa6 100644
--- a/src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java
+++ b/src/main/java/org/apache/commons/crypto/utils/ReflectionUtils.java
@@ -28,7 +28,7 @@ import org.apache.commons.crypto.cipher.CryptoCipher;
 /**
  * General utility methods for working with reflection.
  */
-public class ReflectionUtils {
+public final class ReflectionUtils {
 
     private static final Map<ClassLoader, Map<String, WeakReference<Class<?>>>>
CACHE_CLASSES = new WeakHashMap<ClassLoader, Map<String, WeakReference<Class<?>>>>();
 

http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/79488c04/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 a085a94..8574882 100644
--- a/src/main/java/org/apache/commons/crypto/utils/Utils.java
+++ b/src/main/java/org/apache/commons/crypto/utils/Utils.java
@@ -46,7 +46,7 @@ import static org.apache.commons.crypto.conf.ConfigurationKeys.COMMONS_CRYPTO_LI
 /**
  * General utility methods.
  */
-public class Utils {
+public final class Utils {
     private static final int MIN_BUFFER_SIZE = 512;
 
     protected static final CipherTransformation AES_CTR_NOPADDING = CipherTransformation.AES_CTR_NOPADDING;


Mime
View raw message