Once I came back to actually check it out I of course realized that it's the
same as Long.MIN_VALUE
<https://en.wikipedia.org/wiki/Two%27s_complement#Most_negative_number>...
just harder to read at a glance, and the -Long.MIN_VALUE version gets
flagged by the IDE for numeric overflow... why not just use Long.MIN_VALUE?

On Tue, Oct 9, 2018 at 10:31 PM Gus Heck <[email protected]> wrote:

>
> https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/metrics/MaxMetric.java#L28
>
> Seems like the default value for longs in the MaxMetric is probably not
> right?
>
> --
> http://www.the111shift.com
>


-- 
http://www.the111shift.com

Reply via email to