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

Fix ListHelperTest failure caused by immutable list being used #8679

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Jul 22, 2022

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

#8631 replaced list creation with List.of(), which creates an immutable list, but for this test we need a mutable list. I added a comment in the javadoc to explain this. This fixes the CI failing everywhere (my fault with merging #8631 once I saw it built fine on my PC, before waiting for the CI to finish). @Isira-Seneviratne

Due diligence

@Isira-Seneviratne
Copy link
Member

@Stypox Sorry about that.

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@AudricV AudricV added the bug Issue is related to a bug label Jul 22, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Stypox
Copy link
Member Author

Stypox commented Jul 22, 2022

Don't worry, it's just that the function makes a strange use of the list and did not document it.

@Stypox Stypox merged commit abf185c into TeamNewPipe:dev Jul 22, 2022
@Stypox Stypox deleted the fix-listhelpertest branch August 4, 2022 09:51
@Stypox Stypox mentioned this pull request Aug 27, 2022
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants