- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for lookupOptional (0.16 sec)
-
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java
try { return container.lookup(type, name); } catch (ComponentLookupException e) { throw new LookupException(e); } } @Override public <T> Optional<T> lookupOptional(Class<T> type) { try { return Optional.of(container.lookup(type)); } catch (ComponentLookupException e) { if (e.getCause() instanceof NoSuchElementException) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 3.1K bytes - Viewed (0)