uschindler commented on code in PR #13001: URL: https://github.com/apache/lucene/pull/13001#discussion_r1446135710
########## gradle/validation/forbidden-apis/defaults.all.txt: ########## @@ -74,3 +74,8 @@ javax.sql.rowset.spi.SyncFactory @defaultMessage Math.fma is insanely slow (2500x) in many environments (e.g. VMs). Use multiply/add and suffer the extra rounding java.lang.Math#fma(float,float,float) java.lang.Math#fma(double,double,double) + +@defaultMessage We should not use Thread.sleep in lucene code +java.lang.Thread#sleep(long) Review Comment: you should also move the message into the signature. I'd also prefer a more meaningful message. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org