From 22bb099f2020e2dc596b1ee5b843165edc7a30d6 Mon Sep 17 00:00:00 2001 From: admiyo Date: Mon, 21 Nov 2011 18:37:47 +0000 Subject: 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 --- pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParser.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pki/base/silent') 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; -- cgit