Hi Olli, I have no sane explanation as to why there seem to be arbitrary limits for those methods instead of the min / max values for the corresponding data types. Nonetheless, we can open another issue and have them corrected.
Cheers, Radu On Fri, 9 Mar 2018 at 17:38 Oliver Lietz <[email protected]> wrote: > On Wednesday 07 March 2018 14:19:49 Radu Cotescu wrote: > > Hi, > > Hi Radu, > > > We solved 1 issue in this release: > > https://issues.apache.org/jira/projects/SLING/versions/12342876 > > while looking at the fix for SLING-7476 I stumbled upon those hardcoded > values > for min and max, e.g. -2000000000 and 2000000000 (which seem to be > arbitrary) > and wondered why we do not use Integer.MIN_VALUE and Integer.MAX_VALUE > instead. Any reason for this? > > Thanks, > O. >
