Re: [JGIT PATCH 1/2] Add getLong to RepositoryConfig
Ferry Huberts <ferry.huberts@pelagic.nl> wrote:
> Shawn O. Pearce wrote:
> > This supports parsing 64 bit configuration values.
> > + /**
> > + * Obtain an integer value from the configuration.
> s/integer/long/g in this (copy&paste) javadoc part
Its still integer as in from the integer number space, and not say
a floating point decimal. Thus I didn't bother with this edit,
I figured the method name was clear enough that it would return
a long, but the concept of it parsing only "2g" and not "1.5g"
should go in the documentation.
And again, please trim parts you aren't replying to.
--
Shawn.