Open westonal opened 8 years ago
@westonized thanks for this report, I added 15 mins to your account, in transaction AP-92K25680T0309344B
@westonal @dmarkov the issue has been fixed in a pull request #43. Please check if the ticket can be closed now.
In line with objects should be immutable, refactor the
Manifests
class to be an immutable.Acceptance criteria:
Manifests
is immutable, that is no exposed methods will change its internal stateManifests
no longer implementsMap<String, String>
, though it should keepget
methodManifests
provides a mutable map copy from a method:Map<string, string> asMap()
providing an upgrade route for anyone relying on its previous implementation ofMap
@SuppressWarnings("PMD.TooManyMethods")
from the class, as most of the oldMap
methods will be gone