Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brachy84 committed Mar 15, 2024
1 parent 4a29c6d commit bdbdd02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class GroovyScriptDocumentationProvider implements IDocumentationProvider
var method = GroovyReflectionUtils.resolveMethodFromMethodNode(methodNode, context);

if (method.isPresent() && method.get().isAnnotationPresent(MethodDescription.class)) {
return new Registry(groovyContainer, methodRegistry.get(), Collections.emptyList()).documentMethods(Collections.singletonList(method.get()), true);
return new Registry(groovyContainer, methodRegistry.get()).documentMethods(Collections.singletonList(method.get()), true);
}
}

Expand Down

0 comments on commit bdbdd02

Please sign in to comment.