You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sd...@apache.org on 2016/07/22 07:00:38 UTC
[10/50] commons-crypto git commit: Formatting: Missing spaces.
Formatting: Missing spaces.
Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/0715c6c5
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/0715c6c5
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/0715c6c5
Branch: refs/heads/CRYPTO-1.0.0
Commit: 0715c6c5ff6f5d7d3b4e55dec434d3b1711492a5
Parents: 6f6d6b0
Author: ggregory <gg...@apache.org>
Authored: Fri Jul 8 09:19:46 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Fri Jul 8 09:19:46 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/commons/crypto/examples/RandomExample.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/0715c6c5/src/test/java/org/apache/commons/crypto/examples/RandomExample.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/crypto/examples/RandomExample.java b/src/test/java/org/apache/commons/crypto/examples/RandomExample.java
index 0387472..5206049 100644
--- a/src/test/java/org/apache/commons/crypto/examples/RandomExample.java
+++ b/src/test/java/org/apache/commons/crypto/examples/RandomExample.java
@@ -31,7 +31,7 @@ import org.apache.commons.crypto.random.CryptoRandomFactory;
public class RandomExample {
public static void main(String []args) throws GeneralSecurityException, IOException {
- //Constructs a byte array to store random data.
+ // Constructs a byte array to store random data.
byte[] key = new byte[16];
byte[] iv = new byte[32];
@@ -39,7 +39,7 @@ public class RandomExample {
properties.put(CryptoRandomFactory.CLASSES_KEY,
CryptoRandomFactory.RandomProvider.OPENSSL.getClassName());
- //Gets the 'CryptoRandom' instance.
+ // Gets the 'CryptoRandom' instance.
CryptoRandom random = CryptoRandomFactory.getCryptoRandom(properties);
// Show the actual class (may be different from the one requested)
@@ -49,7 +49,7 @@ public class RandomExample {
random.nextBytes(key);
random.nextBytes(iv);
- //Closes the CryptoRandom.
+ // Closes the CryptoRandom.
random.close();
// Show the generated output