Can I have airhorns go off next time I accidentally use
12/10/2018, 2:36 PM
If you use Detekt, you can define Forbidden Imports, so your build will fail if you use Thread.yield.
Not exactly airhorns, but…
You might be able to exclude Thread.yield from import suggestions in IntelliJ (if you use it).
12/10/2018, 2:40 PM
Thanks, it was indeed caused by IntelliJ suggesting it