Skip to content

Commit

Permalink
Fix javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanQed committed May 6, 2024
1 parent 2d705a4 commit b9fa7ed
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ default <T> ServiceProviderBuilder addService(JType<T> type,
*
* @param type the specified type, must be non-null
* @param implementation the specified implementation class, must extend the type type and be non-null
* @param <T> the type of service
* @return this {@link ServiceProviderBuilder} instance
* @param <T> the type of service
*/
default <T> ServiceProviderBuilder addSingleton(JType<T> type, Class<? extends T> implementation) {
return addSingleton(type.getType(), implementation);
Expand All @@ -91,8 +91,8 @@ default <T> ServiceProviderBuilder addSingleton(JType<T> type, Class<? extends T
*
* @param type the specified type, must be non-null
* @param implementation the specified implementation class, must extend the type type and be non-null
* @param <T> the type of service
* @return this {@link ServiceProviderBuilder} instance
* @param <T> the type of service
*/
default <T> ServiceProviderBuilder addTransient(JType<T> type, Class<? extends T> implementation) {
return addTransient(type.getType(), implementation);
Expand Down Expand Up @@ -179,8 +179,8 @@ default <T> ServiceProviderBuilder addTransient(JType<T> type, Class<? extends T
*
* @param type the specified type, must be non-null
* @param supplier the specified instantiator, must be non-null
* @param <T> the type of service
* @return this {@link ServiceProviderBuilder} instance
* @param <T> the type of service
*/
default <T> ServiceProviderBuilder addService(JType<T> type, Function0<T> supplier) {
return addService(type.getType(), supplier);
Expand Down

0 comments on commit b9fa7ed

Please sign in to comment.