|
|
|
|
|
by senko
2395 days ago
|
|
Many linters are state-aware, for example to catch use-before-init bugs in various languages. This one could be a fairly simple rule ConcurrentHashMap.get() followed by some code that branches on the result, followed by put() is unsafe. These warnings can be very helpful, but no fairy ML magic needed. |
|