Add TODO comment
This commit is contained in:
parent
ec90e0d6bb
commit
dc4810aa98
|
@ -1057,6 +1057,7 @@ public class ObjectUtils {
|
||||||
return ((Map<?, ?>) object).isEmpty();
|
return ((Map<?, ?>) object).isEmpty();
|
||||||
}
|
}
|
||||||
if (object instanceof Optional<?>) {
|
if (object instanceof Optional<?>) {
|
||||||
|
// TODO Java 11 Use Optional#isEmpty()
|
||||||
return !((Optional<?>) object).isPresent();
|
return !((Optional<?>) object).isPresent();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue