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

Remove Apache Commons dependency from Services

Open
#6,649 1 comment 0 reactions 0 assignees View on GitHub
HapiThursday
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

We should not be importing all of Apache Commons just for a few classes we are using.

### Solution

Mostly we seem to use Pair and Triple classes, I have filed a platform issue to add them to platform https://github.com/hashgraph/hedera-services/issues/6648

Almost all other cases are random Exceptions which we can use standard Java ones or create our own.

The few other one off cases we should replace with our own versions or simple standard Java code. My preference is to use standard java code and core libraries where ever possible. Other places we add our own util classes.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by inventorying Apache Commons imports in Services and read platform issue 6648; done means the relevant usages are replaced and the Apache Commons dependency is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.