Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The class claims that it is immutable, but there are some mutable features of this class.
Increase the immutability of it and add a little cleanup:
- Pre-initialize size of ArrayList
- Remove superfluous syntax
- Use ArrayList instead of LinkedList since the list is created once
Attachments
Issue Links
- links to