What use did you have from the getter? That seems like a situation where you would only change the setter (or a builder if you use that pattern).
Re:Data Classes for Java
by FollowSteph3 on Thursday November 02, 2017 @08:51AM
(#15609904)
In fact you may want to edit the getter because who says you’re the one who controls the setter. As in there may be more than one way to set the value ;)
The only other option was to have thousands of customers with live systems edit their templates and or data to fix that one bad character. It affected a lot of people due to another unrelated update. Anyways had we not been forcing the use of setters and getters a solution would have been on a whole other scale! And no we couldn’t edit the template engine, etc, because in most cases it was valid.