davsclaus commented on a change in pull request #3797:
URL: https://github.com/apache/camel/pull/3797#discussion_r419289450
##########
File path:
tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
##########
@@ -528,10 +535,14 @@ protected ComponentModel
findComponentProperties(UriEndpoint uriEndpoint, Class<
protected void findComponentClassProperties(ComponentModel componentModel,
Class<?> classElement,
String prefix, String
nestedTypeName, String nestedFieldName) {
final Class<?> orgClassElement = classElement;
+ Set<String> excludes = new HashSet<>();
while (true) {
Metadata componentAnnotation =
classElement.getAnnotation(Metadata.class);
- if (componentAnnotation != null && Objects.equals("verifiers",
componentAnnotation.label())) {
- componentModel.setVerifiers(componentAnnotation.enums());
+ if (componentAnnotation != null) {
+ if(Objects.equals("verifiers", componentAnnotation.label())) {
Review comment:
Checkstyle issue
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]