You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/11/01 09:15:43 UTC
[maven-studies] 14/15: Use Random instead of SecureRandom for
generating test file
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch maven-sign-plugin
in repository https://gitbox.apache.org/repos/asf/maven-studies.git
commit 727e8a4b90ef9f0ced12e06d991e0b706d538213
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 12 08:07:40 2020 +0200
Use Random instead of SecureRandom for generating test file
---
src/it/big-artifact/setup.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/it/big-artifact/setup.groovy b/src/it/big-artifact/setup.groovy
index 276b2af..73f1956 100644
--- a/src/it/big-artifact/setup.groovy
+++ b/src/it/big-artifact/setup.groovy
@@ -21,7 +21,7 @@ import java.security.SecureRandom
*/
-def random = new SecureRandom();
+def random = new Random();
def buf = new byte[ 800 * 1024 ];
new File( basedir, "test.dat" ).withOutputStream { out ->