Skip to content

Commit

Permalink
Fixed WMI_WRONG_MAP_ITERATOR findbugs error.
Browse files Browse the repository at this point in the history
  • Loading branch information
zendawg committed Oct 17, 2019
1 parent b63a15a commit 77a115c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,10 @@ else if (builtLine.toString().matches(OPTION_REGEX_BASIC_LINE))
buf.close();
isr.close();
Map<String, OptionConfiguration> options = globalConfig.getOptionConfigurations();
for (String name : options.keySet())
for (OptionConfiguration optConfig : options.values())
{
// any options that did not have their hasArg set will be null;
// in which case set them to false
OptionConfiguration optConfig = options.get(name);
if (optConfig.hasArg() == null)
{
optConfig.setHasArg(false);
Expand Down

0 comments on commit 77a115c

Please sign in to comment.