-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add a copy constructor for BibEntry #13613
Copy link
Copy link
Labels
component: bib(la)texcomponent: jablibdev: architecturedev: code-qualityIssues related to code or architecture decisionsIssues related to code or architecture decisionsdev: data-modelgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Metadata
Metadata
Assignees
Labels
component: bib(la)texcomponent: jablibdev: architecturedev: code-qualityIssues related to code or architecture decisionsIssues related to code or architecture decisionsdev: data-modelgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Fields
Give feedbackNo fields configured for feature.
Projects
StatusShow more project fields
Done
Is your suggestion for improvement related to a problem? Please describe.
Using
Cloneableis the old way in Java. Nowadays, you should use either a copy constructor or a factory method.Describe the solution you'd like
Implement a copy constructor for
BibEntry:Additional context
You will also need to find where
.clone()were used and change the code to use the new constructor