hiero-ledger / hiero-ledger/hiero-consensus-node

Replace `org.apache.commons.lang3.tuple.Pair` with own implementation

Open
#8,007 0 comments 0 reactions 0 assignees View on GitHub
P3 Platform
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

We currently rely on multiple third-party libraries, which has led to increased technical debt. Specifically, we have an internal utility class `com.swirlds.base.utility.Pair` that should be used consistently throughout the entire repository.

Identify and replace instances of third-party utility classes with `com.swirlds.base.utility.Pair` across the entire codebase.

Contributor guide

Open the contributing guide

Research direction

Start by reading com.swirlds.base.utility.Pair and searching the repository for uses of org.apache.commons.lang3.tuple.Pair. Replace the third-party utility instances with the internal Pair implementation across the codebase, then verify that no such uses remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.