Skip to content

Commit

Permalink
LookupValue.getAttributeAsIntSet: never return null
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Nov 8, 2017
1 parent 0eda426 commit ded1396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public Set<Integer> getAttributeAsIntSet(final String name)
final Object valueObj = getAttribute(name);
if (valueObj == null)
{
return null;
return ImmutableSet.of();
}
else if (valueObj instanceof Collection)
{
Expand Down

0 comments on commit ded1396

Please sign in to comment.