Skip to content

Commit

Permalink
IWF-248: change to use getMethods instead of getDeclaredMethods for R… (
Browse files Browse the repository at this point in the history
#257)

Co-authored-by: Tom Stuczynski <[email protected]>
  • Loading branch information
tomstuchinski and tom-stu authored Oct 30, 2024
1 parent 1d3b55a commit 71172ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/iworkflow/core/Registry.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private void registerWorkflowState(final ObjectWorkflow wf) {

private void registerWorkflowRPCs(final ObjectWorkflow wf) {
String workflowType = getWorkflowType(wf);
final Method[] methods = wf.getClass().getDeclaredMethods();
final Method[] methods = wf.getClass().getMethods();
if (methods.length == 0) {
rpcMethodStore.put(workflowType, new HashMap<>());
return;
Expand Down

0 comments on commit 71172ee

Please sign in to comment.