Preprocessing for properties setters
For normalizing data, e.g. preprocess the name and address fields with a call to
Submitted by Elmer van Chastelet on 29 May 2015 at 15:55.trim()
.
Another idea is to add atrim
annotation to String properties, or trim String properties by default except when they have a no-trim anno.
Log in to post comments