You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Optional.orElseThrow(…) method gets a parameter type resolved that's actually the return value, not the parameter. It shows InventoryItem when it should show Supplier<…>.
The text was updated successfully, but these errors were encountered:
odrotbohm
changed the title
Wrong parameter typ
Wrong parameter type derived for methods on Optional
Nov 13, 2018
The
Optional.orElseThrow(…)
method gets a parameter type resolved that's actually the return value, not the parameter. It showsInventoryItem
when it should showSupplier<…>
.The text was updated successfully, but these errors were encountered: