Array instantiation in WorkPlan.processContainedInAndPrepareExecution is misleading

Description

The code:

1 2 PerClassWork[] worksFromEvents = new PerClassWork[byClass.size()]; worksFromEvents = byClass.values().toArray( worksFromEvents );

The first array instantiation is useless, since it is erased on the very next line.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

5.6.0.CR1

Priority

Trivial