apache / apache/hop

[Task]: Replace all clone() methods with copy a constructor

Open
#1,847 0 comments 0 reactions 0 assignees View on GitHub
3.0
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
19h
Merged PRs (30d)
227

Description

### What needs to happen?

Sonar considers using clone() (and interface Clonable) as a blocking issue.
A lot of our code already switched over to copy constructors. Let's clean up the remainder.

### Issue Priority

Priority: 3

### Issue Component

Component: Api

Contributor guide

Open the contributing guide

Research direction

Search the repository for remaining clone() methods and Cloneable usage, then compare them with the copy constructors already used elsewhere. The issue identifies the Api component; done means the remaining clone-based implementations there have been replaced consistently with copy constructors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
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.