diff options
author | admiyo <admiyo@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-11-21 18:37:47 +0000 |
---|---|---|
committer | admiyo <admiyo@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-11-21 18:37:47 +0000 |
commit | 22bb099f2020e2dc596b1ee5b843165edc7a30d6 (patch) | |
tree | 65d9c6849663dfdc543de1c0f06f8402a41b201e /pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java | |
parent | ed76e714f94e8aa60aa5c4b4a8cf386a582bf02d (diff) | |
download | pki-22bb099f2020e2dc596b1ee5b843165edc7a30d6.tar.gz pki-22bb099f2020e2dc596b1ee5b843165edc7a30d6.tar.xz pki-22bb099f2020e2dc596b1ee5b843165edc7a30d6.zip |
Dead code removal
This patch removes all of the locations that Eclipse identified as Dead code.
Only the Eclipse automated cleanups were performed, which means that some of the locations which were in *if* blocks still have the corresponding brackets around them.
These ensure that the original variable semantics weren't changed, but are safe to remove in the future.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2296 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java')
-rw-r--r-- | pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java b/pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java index f055442b..74bb6954 100644 --- a/pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java +++ b/pki/base/kra/src/com/netscape/kra/KeyRecoveryAuthority.java @@ -1688,15 +1688,7 @@ public class KeyRecoveryAuthority implements IAuthority, IKeyService, IKeyRecove } } - if (key != null) { - key = key.trim(); - - if (key.equals("")) { - return ILogger.SIGNED_AUDIT_EMPTY_VALUE; - } else { - return key; - } - } else { + { return ILogger.SIGNED_AUDIT_EMPTY_VALUE; } } |