-
Notifications
You must be signed in to change notification settings - Fork 54.2k
Open
Labels
triagedIssues reviewed by a dev and considered valid. Will be added in Jira.Issues reviewed by a dev and considered valid. Will be added in Jira.
Description
In this code:
Line 34 in 5a74185
if (state.size()==3) { |
the size of state
is never 3 - the integrator
never leaves such state. The finisher
can be removed.
Also, using ArrayList
for this task is insane: removeFirst
needs to copy the entire array. ArrayDeque
would be much more efficient.
Metadata
Metadata
Assignees
Labels
triagedIssues reviewed by a dev and considered valid. Will be added in Jira.Issues reviewed by a dev and considered valid. Will be added in Jira.