Skip to content

Commit df03147

Browse files
committed
Issue #98. Remove spurious argument in java_analysis crud APIs.
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
1 parent 89631f5 commit df03147

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

cldk/analysis/java/java_analysis.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -638,36 +638,36 @@ def get_all_crud_operations(self) -> List[Dict[str, Union[JType, JCallable, List
638638
Returns:
639639
List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]: A list of all CRUD operations in the source code.
640640
"""
641-
return self.backend.get_all_crud_operations(self.source_code)
641+
return self.backend.get_all_crud_operations()
642642

643643
def get_all_create_operations(self) -> List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]:
644644
"""Returns a list of all create operations in the source code.
645645
646646
Returns:
647647
List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]: A list of all create operations in the source code.
648648
"""
649-
return self.backend.get_all_create_operations(self.source_code)
649+
return self.backend.get_all_create_operations()
650650

651651
def get_all_read_operations(self) -> List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]:
652652
"""Returns a list of all read operations in the source code.
653653
654654
Returns:
655655
List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]: A list of all read operations in the source code.
656656
"""
657-
return self.backend.get_all_read_operations(self.source_code)
657+
return self.backend.get_all_read_operations()
658658

659659
def get_all_update_operations(self) -> List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]:
660660
"""Returns a list of all update operations in the source code.
661661
662662
Returns:
663663
List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]: A list of all update operations in the source code.
664664
"""
665-
return self.backend.get_all_update_operations(self.source_code)
665+
return self.backend.get_all_update_operations()
666666

667667
def get_all_delete_operations(self) -> List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]:
668668
"""Returns a list of all delete operations in the source code.
669669
670670
Returns:
671671
List[Dict[str, Union[JType, JCallable, List[JCRUDOperation]]]]: A list of all delete operations in the source code.
672672
"""
673-
return self.backend.get_all_delete_operations(self.source_code)
673+
return self.backend.get_all_delete_operations()

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ clang = "^17.0.6"
4747

4848
[tool.poetry.group.dev.dependencies]
4949
ipdb = "^0.13.13"
50+
ipython = "^8.32.0"
5051

5152

5253
[tool.poetry.group.test.dependencies]

0 commit comments

Comments
 (0)