SOLR-13787: Added support for PayLoad<T> as 3rd param

This commit is contained in:
noble 2019-10-12 00:23:40 +11:00
parent 946df69a8a
commit dcb7abfc0e
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}