[MAGNOLIA-5269] Command interface requires implementation of copy() method Created: 27/Aug/13  Updated: 15/Oct/13  Resolved: 15/Oct/13

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jan Haderka Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MAGNOLIA-5388 Fix command API and enable custom con... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Since dropping use of commons command chain, Command interface contains Copy(Command) method that has nothing to do with it's business contract - to execute the command.
This method is only used in CommandsManager to clone the command instances. Instead of this method standard Java cloning mechanism should be used.


Generated at Mon Feb 12 04:03:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.