Skip to content
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

[Java-frontend] Fix duplication bug #1617

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

arthurscchan
Copy link
Contributor

@arthurscchan arthurscchan commented Jun 20, 2024

There is a mechanism in FunctionConfig to check whether a function exists in the list before adding it to avoid duplication. However, there is a bug in which setFunctionElements does not check for duplication when renewing the function list. This makes the final output data.yaml file contains quite some amount of duplicated data. This PR fixes that and the size of data.yaml for the Java project should be significantly decreased.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan arthurscchan marked this pull request as ready for review June 20, 2024 15:53
@DavidKorczynski DavidKorczynski merged commit af239a4 into ossf:main Jun 20, 2024
10 checks passed
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