I was doing a project and it was almost completed. Now i was asked to implement Internationalization in it and i successfully implemented that. After that i came across a challenge where i have to remove the messages from validation beans in which annotation based validation tags were implemented.
@Size(min = 1, max = 50, message = "Email size should be between 1 and 50") private String loginId;