concurrency/src/main/java/com/github/kuangcp/list/ShowCopyOnWrite.java
Method main
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void main(String[] a) {
final CountDownLatch firstLatch = new CountDownLatch(1);
final CountDownLatch secondLatch = new CountDownLatch(1);
// 使用不可变对象
final BuildFactory.Builder builder = new BuildFactory.Builder();