Consistently use java.time.Duration for representing intervals [DBZ-613]
- Dominant language
- HTML
- Stars
- 6
- Forks
- 9
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Description
Migrated from [DBZ-613](https://issues.redhat.com/browse/DBZ-613)
We should consistently use {{java.time.Duration}} in the code base instead of {{long}} values representing durations. {{Configuration#getDuration()}} should be used to obtain any configuration values representing temporal intervals.
Contributor guide
Research direction
Start by searching the codebase for long values representing durations and for configuration values that represent temporal intervals. Review Configuration#getDuration() and map the affected usages before making changes. Done means interval handling consistently uses java.time.Duration and relevant configuration values are obtained through Configuration#getDuration().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100