commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject [14/50] commons-crypto git commit: No point recreating the File object
Date Fri, 22 Jul 2016 07:00:42 GMT
No point recreating the File object

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

Branch: refs/heads/CRYPTO-1.0.0
Commit: e5a6548f9c610717ffca3163638c0e59c9ea4591
Parents: c27ed6e
Author: Sebb <sebb@apache.org>
Authored: Sat Jul 9 00:19:16 2016 +0100
Committer: Sebb <sebb@apache.org>
Committed: Sat Jul 9 00:19:16 2016 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/crypto/NativeCodeLoader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/e5a6548f/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
index ec96a4e..4d4dbcb 100644
--- a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
+++ b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
@@ -206,7 +206,7 @@ final class NativeCodeLoader {
                 }
             }
 
-            return new File(targetFolder, extractedLibFileName);
+            return extractedLibFile;
         } catch (IOException e) {
             return null;
         } finally {


Mime
View raw message