Remove obsolete ParserUtils.selectNotNull().

This commit is contained in:
Andreas Schildbach 2015-01-25 10:01:02 +01:00
parent a5f59319aa
commit 64df076576

View file

@ -623,24 +623,6 @@ public final class ParserUtils
}
}
public static <T> T selectNotNull(final T... groups)
{
T selected = null;
for (final T group : groups)
{
if (group != null)
{
if (selected == null)
selected = group;
else
throw new IllegalStateException("ambiguous");
}
}
return selected;
}
public static String firstNotEmpty(final String... strings)
{
for (final String str : strings)