Skip to content

Commit d053cf5

Browse files
author
Phillip Huang
committed
Remove unused parameter from _get_data_types_from_doc_ref
1 parent aa7606a commit d053cf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator/java.stoneg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ def update_by_reference(data_type, namespace):
17361736
return visibility
17371737

17381738
@staticmethod
1739-
def _get_data_types_from_doc_ref(api, doc, namespace_context, dummy):
1739+
def _get_data_types_from_doc_ref(api, doc, namespace_context):
17401740
"""
17411741
Given a documentation string, parse it and return all references to other
17421742
data types. If there are references to routes, include also the data types of
@@ -1749,7 +1749,7 @@ def _get_data_types_from_doc_ref(api, doc, namespace_context, dummy):
17491749
"""
17501750
output = []
17511751
data_types, routes_by_ns = JavaApi._get_data_types_and_routes_from_doc_ref(
1752-
api, doc, namespace_context, dummy)
1752+
api, doc, namespace_context)
17531753
for d in data_types:
17541754
output.append(d)
17551755
for ns_name, routes in routes_by_ns.items():
@@ -1760,7 +1760,7 @@ def _get_data_types_from_doc_ref(api, doc, namespace_context, dummy):
17601760
return output
17611761

17621762
@staticmethod
1763-
def _get_data_types_and_routes_from_doc_ref(api, doc, namespace_context, dummy):
1763+
def _get_data_types_and_routes_from_doc_ref(api, doc, namespace_context):
17641764
"""
17651765
Given a documentation string, parse it and return all references to other
17661766
data types and routes.

0 commit comments

Comments
 (0)