Skip to content

Commit

Permalink
Proper comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Apr 30, 2014
1 parent 53150d5 commit 0bb3e21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private List<String> resolveWildcardSelectOptionValues(CommandLine commandLine,
for (String optionValue : optionValues)
{
String optionPattern = ResourcePathResolver.pathspecToRegEx(optionValue);
if (optionValue == optionPattern)
if (optionValue != null && optionValue.equals(optionPattern))
{
resolvedOptionValues.add(optionValue);
break;
Expand Down

0 comments on commit 0bb3e21

Please sign in to comment.