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/common/src/com/netscape/cms/publish | |
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/common/src/com/netscape/cms/publish')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/publish/publishers/LdapEncryptCertPublisher.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pki/base/common/src/com/netscape/cms/publish/publishers/LdapEncryptCertPublisher.java b/pki/base/common/src/com/netscape/cms/publish/publishers/LdapEncryptCertPublisher.java index dc651c155..902763b48 100644 --- a/pki/base/common/src/com/netscape/cms/publish/publishers/LdapEncryptCertPublisher.java +++ b/pki/base/common/src/com/netscape/cms/publish/publishers/LdapEncryptCertPublisher.java @@ -235,10 +235,6 @@ public class LdapEncryptCertPublisher implements ILdapPublisher, IExtendedPlugin LDAPAttribute attr, byte[] bval) { LDAPAttribute at = new LDAPAttribute(attr.getName(), bval); - if (at == null) { - return at; - } - // determine if the given cert is a signing or an encryption // certificate X509CertImpl thisCert = null; |