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/silent | |
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/silent')
-rwxr-xr-x | pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java index f4e07f2e5..29033d6b7 100755 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java @@ -1494,10 +1494,6 @@ public class ArgParser } while (c != '%'); - if (nameTail == null) - { throw new IllegalArgumentException - ("Null option name given"); - } if (!nameTail.oneWord) { for (ndesc=rec.nameList; ndesc!=null; ndesc=ndesc.next) { ndesc.oneWord = false; |