madrob commented on PR #965:
URL: https://github.com/apache/solr/pull/965#issuecomment-1238393512

   The failure is 
```/home/runner/work/solr/solr/solr/solrj/src/java/org/apache/solr/common/cloud/CompositeIdRouter.java:238:
 warning: [NarrowCalculation] This product of integers could overflow before 
being implicitly cast to a long.
   
[41](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:42)
   
   
[42](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:43)
   > Task :solr:solrj:compileJava
   
[43](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:44)
       boolean round = rangeStep >= (1 << bits) * 16;
   
[44](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:45)
                                                ^
   
[45](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:46)
       (see https://errorprone.info/bugpattern/NarrowCalculation)
   
[46](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:47)
     Did you mean 'boolean round = rangeStep >= (1 << bits) * 16L;'?
   
[47](https://github.com/apache/solr/runs/8189262631?check_suite_focus=true#step:7:48)```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to