summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java')
-rw-r--r--libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java b/libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java
index fecf54cb8e9..674e2afb6a5 100644
--- a/libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java
+++ b/libjava/classpath/gnu/java/security/jce/sig/RSAKeyFactory.java
@@ -84,7 +84,7 @@ public class RSAKeyFactory
PublicKey result;
try
{
- result = new RSAKeyPairX509Codec().decodePublicKey(encoded);
+ return new RSAKeyPairX509Codec().decodePublicKey(encoded);
}
catch (RuntimeException x)
{
@@ -131,7 +131,7 @@ public class RSAKeyFactory
PrivateKey result;
try
{
- result = new RSAKeyPairPKCS8Codec().decodePrivateKey(encoded);
+ return new RSAKeyPairPKCS8Codec().decodePrivateKey(encoded);
}
catch (RuntimeException x)
{