Skip to content

Commit 22ec0f1

Browse files
committed
Fixes in response to code review by @ST-DDT
1 parent 3c4625f commit 22ec0f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/inject/GrpcClientBeanPostProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ protected <T> T valueForMember(final String name, final Member injectionTarget,
230230
/**
231231
* Creates a stub instance for the specified stub type using the resolved {@link StubFactory}.
232232
*
233-
* @param stubClass
234-
* @param channel
233+
* @param stubClass The stub class that needs to be created.
234+
* @param channel The gRPC channel associated with the created stub, passed as a parameter to the stub factory.
235235
* @throws BeanInstantiationException If the stub couldn't be created, either because the type isn't supported or
236236
* because of a failure in creation.
237237
* @return A newly created gRPC stub.

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/stubfactory/StubFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface StubFactory {
3939
*
4040
* @throws BeanInstantiationException If the stub couldn't be created.
4141
*/
42-
AbstractStub<?> createStub(final Class<? extends AbstractStub<?>> stubType, final Channel channel);
42+
AbstractStub<?> createStub(Class<? extends AbstractStub<?>> stubType, Channel channel);
4343

4444
/**
4545
* Used to resolve a factory that matches the particular stub type.

0 commit comments

Comments
 (0)