SonarQube-Java规范之Atomic-".equals()" should not be used to test the values of "Atomic" classes
AtomicInteger, and AtomicLong extend Number,
but they're distinct from Integer and Long and
should be handled differently. AtomicInteger and AtomicLong are
designed to support lock-free, thread-
翻译
2016-03-30 10:36:58 ·
872 阅读 ·
0 评论