Skip to content

Refactored to remove multiple calls of getSourceTexts() api #1137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Refactored to remove multiple calls of getSourceTexts() api #1137

merged 1 commit into from
Nov 24, 2023

Conversation

harikrishna553
Copy link
Contributor

a. AbstractSelectable#getFirstSourceText() method is calling getSourceTexts() multiple times, not required to address this usecase
b. Remove unnecessary else block in AbstractSelectable#get() method.
c. AbstractSelectable#match method is calling getSourceTexts() multiple times, not required to address this usecase.

@sutra sutra merged commit a911104 into code4craft:develop Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants