TeamNewPipe / TeamNewPipe/NewPipeExtractor

Use do…while when possible

Open
#363 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
2k
Forks
602
Avg merge
3d 6h
Merged PRs (30d)
6

Description

E.g. here and some places below, but it's probably not the only place where we used a hacky while instead of a do while

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with PeertubeCommentsExtractorTest.java at lines 36-40, then inspect the surrounding test code for similar while-loop patterns. Search the repository for comparable cases, verify that each candidate is safe to express as do-while, and run the affected tests to confirm behavior is unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.