(T defaultValue)
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public T or(T defaultValue) { |
| 52 | return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); |
| 53 | } |
| 54 | |
| 55 | @SuppressWarnings("unchecked") // safe covariant cast |
| 56 | @Override |
nothing calls this directly
no test coverage detected