mirror of
https://github.com/corda/corda.git
synced 2024-12-23 14:52:29 +00:00
Merge pull request #1834 from corda/chrisr3-muppet-fix
Fix filterAnnotationsFor() to return MethodInfo.
This commit is contained in:
commit
7c8a23aea6
@ -286,7 +286,7 @@ public class ScanApi extends DefaultTask {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private String filterAnnotationsFor(MethodInfo method) {
|
||||
private MethodInfo filterAnnotationsFor(MethodInfo method) {
|
||||
return new MethodInfo(
|
||||
method.getClassName(),
|
||||
method.getMethodName(),
|
||||
@ -295,7 +295,7 @@ public class ScanApi extends DefaultTask {
|
||||
method.getAnnotationNames().stream()
|
||||
.filter(ScanApi::isVisibleAnnotation)
|
||||
.collect(toList())
|
||||
).toString();
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user