Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrizzio-dotCMS committed Oct 28, 2024
1 parent 71b5d40 commit c5e15a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotCMS/src/main/java/com/dotcms/cdi/CDIUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ private CDIUtils() {
}

/**
* Get a bean from CDI container
* Get a bean from CDI container and return an Optional with the bean if found, empty otherwise
* @param clazz the class of the bean
* @return an Optional with the bean if found, empty otherwise
*/
Expand All @@ -31,7 +31,7 @@ public static <T> Optional<T> getBean(Class<T> clazz) {


/**
* Get a bean from CDI container
* Get a bean from CDI container but throw an exception if the bean is not found
* @param clazz the class of the bean
* @return the bean
* @param <T> the type of the bean
Expand Down

0 comments on commit c5e15a6

Please sign in to comment.