Description
DateTools has the following method:
public static Resolution[] getSupportedDateResolutions();
Problem with the implementation is that it returns the static instance field supportedResolutions instead of a copy. This way callers can modify the contents of the array.