mirror of https://github.com/apache/lucene.git
SOLR-13787: Added support for PayLoad<T> as 3rd param
This commit is contained in:
parent
946df69a8a
commit
dcb7abfc0e
|
@ -108,7 +108,7 @@ public class AnnotatedApi extends Api implements PermissionNameProvider {
|
|||
|
||||
for (Method method : klas.getMethods()) {
|
||||
Command command = method.getAnnotation(Command.class);
|
||||
if (command != null && !command.name().isEmpty()) {
|
||||
if (command != null && !command.name().isBlank()) {
|
||||
cmds.put(command.name(), AnnotatedApi.createSchema(method));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue