Skip to content

Commit 6b65d9d

Browse files
a-simeshinST-DDT
andauthored
Update grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/inject/GrpcClientBeanPostProcessor.java
Co-authored-by: ST-DDT <[email protected]>
1 parent 0573c8f commit 6b65d9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,10 @@ private String getBeanName(final GrpcClientBean grpcClientBean) {
323323
}
324324

325325
/**
326-
* The method is used to check for the presence of an annotation {@link Configuration}
326+
* Checks whether the given class is annotated with {@link Configuration}.
327327
*
328-
* @param clazz instance of the class
329-
* @return does the class have an annotation or not
328+
* @param clazz The class to check.
329+
* @return True, if the given class is annotated with {@link Configuration}. False otherwise.
330330
*/
331331
private boolean isAnnotatedWithConfiguration(final Class<?> clazz) {
332332
final Configuration configurationAnnotation = AnnotationUtils.findAnnotation(clazz, Configuration.class);

0 commit comments

Comments
 (0)