arturobernalg commented on a change in pull request #129:
URL: https://github.com/apache/commons-crypto/pull/129#discussion_r554095320



##########
File path: src/main/java/org/apache/commons/crypto/random/OsCryptoRandom.java
##########
@@ -74,7 +76,7 @@ public OsCryptoRandom(final Properties props) {
 
         try {
             close();
-            this.stream = new FileInputStream(randomDevFile);
+            this.stream = 
Files.newInputStream(Paths.get(randomDevFile.getPath()));

Review comment:
       OK @garydgregory 
   I close the PR and I will review the code
   TY.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to