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/08/20 18:49:16 UTC
[commons-crypto] branch master updated: No tabs
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 4936aaf No tabs
4936aaf is described below
commit 4936aafdedae5c4055e1322a21cf1fe8886544ca
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 20 14:49:13 2022 -0400
No tabs
---
.../java/org/apache/commons/crypto/random/JavaCryptoRandom.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/crypto/random/JavaCryptoRandom.java b/src/main/java/org/apache/commons/crypto/random/JavaCryptoRandom.java
index 5e65cea..13e2538 100644
--- a/src/main/java/org/apache/commons/crypto/random/JavaCryptoRandom.java
+++ b/src/main/java/org/apache/commons/crypto/random/JavaCryptoRandom.java
@@ -92,8 +92,8 @@ class JavaCryptoRandom extends Random implements CryptoRandom {
@Override
protected int next(final int numBits) {
Utils.checkArgument(numBits >= 0 && numBits <= 32);
- // Can't simply invoke instance.next(bits) here, because that is package protected.
- // But, this should do.
- return instance.nextInt() >>> (Integer.SIZE - numBits);
+ // Can't simply invoke instance.next(bits) here, because that is package protected.
+ // But, this should do.
+ return instance.nextInt() >>> (Integer.SIZE - numBits);
}
}